Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Home redirect, blog page, styling
-Adding the ability to link to an external sites rom home page story
-Updating blog page to hide near in the media
-Fixing social media sharing
-Updating styles
  • Loading branch information
briandunnigan authored and briandunnigan committed Feb 17, 2016
1 parent 84328de commit e1eba48
Show file tree
Hide file tree
Showing 5 changed files with 348 additions and 117 deletions.
31 changes: 13 additions & 18 deletions content-featured-home.php
Expand Up @@ -3,24 +3,19 @@
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php /* if ( has_post_thumbnail() ) {
echo '<div class="row">';
echo '<div class="col-sm-2">';
the_post_thumbnail();
echo '</div>';
echo '<div class="col-sm-10">';
} */?>

<a href="<?php the_permalink() ?>">
<div class="image wrapper">
<?php the_post_thumbnail() ?>
</div>
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?></a>

<?php /*if ( has_post_thumbnail() ) {
echo '</div>';
echo '</div>';
} */?>

<div class="image wrapper">

<a href="<?php the_permalink() ?>">
<?php the_post_thumbnail() ?>
</a>

</div>

<a href="<?php the_permalink() ?>">
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
</a>


</header><!-- .entry-header -->

Expand Down
176 changes: 176 additions & 0 deletions css/neag.css
Expand Up @@ -7420,6 +7420,11 @@ button.close {
.mega-sub-menu {
list-style-type: none;
}
.mega-sub-menu li.mega-menu-item a {
padding-top: 7px !important;
padding-bottom: 7px !important;
line-height: 1.5em !important;
}

#megamenu-mobile-title {
font-size: 1.3em;
Expand Down Expand Up @@ -7510,6 +7515,17 @@ button.close {
color: #474747 !important;
}

/* Post Loop Styling */
.widget_siteorigin-panels-postloop .content-template-date {
font-size: 12px;
}
.widget_siteorigin-panels-postloop h2.entry-title {
line-height: 1.25em;
}
.widget_siteorigin-panels-postloop .entry-content {
margin-top: 0.75em;
}

/* - - - - - - - - - - - - - - - - - - -
== Content
- - - - - - - - - - - - - - - - - - - */
Expand Down Expand Up @@ -9524,6 +9540,13 @@ a.btn {
border-bottom: 1px solid #eee;
}

/*--------------------------------------------------------------
10.6 UC Calendar - Fixes for Sub/Super Characters
--------------------------------------------------------------*/
#content .widget.uc-ecw .uc-cal-list .uc-cal-item .uc-cal-event-title {
display: flex !important;
}

/* - - - - - - - - - - - - - - - - - - -
== Captions
- - - - - - - - - - - - - - - - - - - */
Expand Down Expand Up @@ -9897,6 +9920,7 @@ q:before, table q:after {
.uc-listcal .uc-cal-list .uc-cal-item .uc-cal-event-title {
font-style: normal;
margin-left: 1em;
display: flex !important;
}
.uc-listcal .uc-cal-list .uc-cal-item .glyphicon-new-window {
display: none;
Expand Down Expand Up @@ -10658,6 +10682,111 @@ input[type="button"]#footers.btn-block {
width: 100%;
}

.panel-grid {
/* Denotes the beginning of a Page Builder section */
}
.panel-grid .simple-social-icons ul li.social-bloglovin:before, .panel-grid .simple-social-icons ul li.social-dribbble:before, .panel-grid .simple-social-icons ul li.social-email:before, .panel-grid .simple-social-icons ul li.social-facebook:before, .panel-grid .simple-social-icons ul li.social-flickr:before, .panel-grid .simple-social-icons ul li.social-github:before, .panel-grid .simple-social-icons ul li.social-gplus:before, .panel-grid .simple-social-icons ul li.social-instagram:before, .panel-grid .simple-social-icons ul li.social-linkedin:before, .panel-grid .simple-social-icons ul li.social-pinterest:before, .panel-grid .simple-social-icons ul li.social-rss:before, .panel-grid .simple-social-icons ul li.social-stumbleupon:before, .panel-grid .simple-social-icons ul li.social-tumblr:before, .panel-grid .simple-social-icons ul li.social-twitter:before, .panel-grid .simple-social-icons ul li.social-vimeo:before, .panel-grid .simple-social-icons ul li.social-youtube:before {
display: none !important;
content: none !important;
}
.panel-grid .simple-social-icons ul li a .glyphicon-new-window {
display: none !important;
content: none !important;
}

#page-page-builder #primary #main .page h3.widget-title {
margin-top: 0px;
margin-bottom: 0.75em;
font-weight: 500;
}

#page-page-builder-cards #primary #main {
background-color: transparent;
border: none;
padding-left: 0px;
padding-right: 0px;
}
#page-page-builder-cards #primary #main .page .entry-content {
margin-top: 0;
}
#page-page-builder-cards #primary #main .page .entry-content h3.widget-title {
margin-top: 0px;
margin-bottom: 0.75em;
font-weight: 500;
}
#page-page-builder-cards #primary #main .page .entry-content .widget {
background-color: white;
border: 1px solid #eaeaea;
padding: 2em;
margin-bottom: 10px;
}
#page-page-builder-cards #primary #main .page .entry-content .widget.widget_metaslider_widget {
background-color: transparent;
border: none;
padding: 0;
}
#page-page-builder-cards #primary #main .panel-grid {
margin-bottom: 0px;
margin-left: -5px;
margin-right: -5px;
}
#page-page-builder-cards #primary #main .panel-grid .panel-grid-cell {
padding-left: 5px;
padding-right: 5px;
}

.home #content #page-page-builder-cards .panel-grid .widget.widget_metaslider_widget {
margin-bottom: 0px !important;
}
.home #content #page-page-builder-cards .panel-grid .widget.widget_metaslider_widget ul.flex-direction-nav li {
margin: 0 !important;
}

body.page-template-page-blank .widget.widget_rcpt {
/*Recent Custom Posts Type Widget */
}
body.page-template-page-blank .widget.widget_rcpt ul {
padding-left: 0;
list-style-type: none;
}
body.page-template-page-blank .widget.widget_rcpt ul .rcpt_item_image {
margin-bottom: 10px;
}
body.page-template-page-blank .widget.widget_rcpt ul .rcpt_item_excerpt {
margin-top: 10px;
}
body.page-template-page-blank .widget.widget_rcpt ul .rcpt_item_date {
margin-top: 10px;
}
body.page-template-page-blank .widget.widget_rcpt ul li {
margin-bottom: 30px;
}
body.page-template-page-blank .widget.widget_recent-posts {
/*Recent Posts Widget */
}
body.page-template-page-blank .widget.widget_recent-posts ul {
padding-left: 0;
list-style-type: none;
}
body.page-template-page-blank .widget.widget_recent-posts ul li {
margin-bottom: 15px;
}
body.page-template-page-blank .widget.widget_recent-posts ul li .post-date {
display: block;
font-size: 11.5px;
margin-top: 5px;
}
body.page-template-page-blank .widget.widget_dpe_fp_widget {
/*Flexible Posts Widget */
}
body.page-template-page-blank .widget.widget_dpe_fp_widget ul {
padding-left: 0;
list-style-type: none;
}
body.page-template-page-blank .widget.widget_dpe_fp_widget ul li {
margin-bottom: 0px;
}

body {
font-family: 'Proxima Nova', helvetica, arial, sans-serif;
}
Expand Down Expand Up @@ -10985,6 +11114,31 @@ h1#uc-site-title {
margin-bottom: 16px;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
.home #content .panel-grid .metaslider .caption-wrap a {
background-color: #c7902b;
border: 1px solid #b78124;
border-radius: 4px;
clear: both;
color: white !important;
display: inline-block;
font-size: 12px;
font-weight: 500;
margin-top: 20px !important;
padding-left: 10px;
padding-right: 10px;
padding-top: 4px;
padding-bottom: 2px;
position: relative;
text-decoration: none;
text-transform: uppercase;
white-space: nowrap;
}
.home #content .panel-grid .metaslider .caption-wrap a:hover {
background-color: #b78124;
}
.home #content .panel-grid .metaslider .caption-wrap p {
text-shadow: 0 1px 2px #333;
}
.home #content .panel-grid .widget {
border-radius: 0px !important;
}
Expand Down Expand Up @@ -11081,6 +11235,9 @@ h1#uc-site-title {
width: 205px;
}
}
.home #content .home-quick-button-1 h2 a .glyphicon {
display: none;
}
.home #content .home-quick-button-1 h2 a:hover {
color: #CD942D !important;
}
Expand Down Expand Up @@ -11120,6 +11277,9 @@ h1#uc-site-title {
width: 205px;
}
}
.home #content .home-quick-button-2 h2 a .glyphicon {
display: none;
}
.home #content .home-quick-button-2 h2 a:hover {
color: #CD942D !important;
}
Expand Down Expand Up @@ -11159,6 +11319,9 @@ h1#uc-site-title {
width: 205px;
}
}
.home #content .home-quick-button-3 h2 a .glyphicon {
display: none;
}
.home #content .home-quick-button-3 h2 a:hover {
color: #CD942D !important;
}
Expand Down Expand Up @@ -11198,6 +11361,9 @@ h1#uc-site-title {
width: 205px;
}
}
.home #content .home-quick-button-4 h2 a .glyphicon {
display: none;
}
.home #content .home-quick-button-4 h2 a:hover {
color: #CD942D !important;
}
Expand Down Expand Up @@ -12268,3 +12434,13 @@ body.single-person .col-sm-4 {
#page #content .widget .btn:hover.btn-info {
color: white !important;
}

#accordion a.accordion-closed.accordion-open.collapsed::after, #accordion a.accordion-closed.accordion-open::after, #accordion a.accordion-closed::after {
margin-top: -16px;
}

@media (min-width: 1200px) {
.cat-item.cat-item-855 a {
font-size: 11px !important;
}
}

0 comments on commit e1eba48

Please sign in to comment.