reducing the sidebar epicenter blog logo and font size
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 31 Oct 2018 17:20:51 +0000 (13:20 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 31 Oct 2018 17:20:51 +0000 (13:20 -0400)
css/app.css
scss/_sidebar.scss
sidebar.php

index 4772725..25c74bc 100644 (file)
@@ -8247,14 +8247,24 @@ a#calendar-link {
   color: white; }
 
 #epicenter-excerpt {
-  margin-top: 20px; }
+  margin-top: 45px; }
+  #epicenter-excerpt div.sidebar-image-container {
+    text-align: center;
+    margin-bottom: 15px; }
+    #epicenter-excerpt div.sidebar-image-container img {
+      text-align: center;
+      max-width: 180px; }
   #epicenter-excerpt #epicenter-post-date {
     color: grey;
-    font-style: italic; }
+    font-style: italic;
+    font-size: 15px; }
   #epicenter-excerpt h3 {
-    font-size: 21px;
+    font-size: 19px;
     line-height: 1.1;
     margin-top: 15px; }
+  #epicenter-excerpt p {
+    font-size: 15px;
+    line-height: 1.2; }
 
 .search-top #searchform {
   text-align: left;
index 6e6673e..a27ad34 100644 (file)
@@ -234,17 +234,32 @@ a#calendar-link {
     color: white;
 }
 #epicenter-excerpt{
-    margin-top: 20px;
+    margin-top: 45px;
+    
+    div.sidebar-image-container{
+        text-align: center;
+        margin-bottom: 15px;
+        img{
+            text-align: center;
+            max-width: 180px;
+        }
+    }
+    
     #epicenter-post-date{
         color: grey;
         font-style: italic;
+        font-size: 15px;
     }
     h3{
-        font-size: 21px;
+        font-size: 19px;
         line-height: 1.1;
         margin-top: 15px;
         a{
             // text-decoration: underline;
         }
     }
+    p{
+        font-size: 15px;
+        line-height: 1.2;
+    }
 }
\ No newline at end of file
index 880d2c4..f94d0da 100644 (file)
                                     </div>
                                     <a href="<?php bloginfo('url'); ?>/e-news-sign-up/"><img alt="Newsletter Signup" src="<?php bloginfo('template_url'); ?>/assets/signup.png"></a>
                                     <div id="epicenter-excerpt">
-                                        <div>
+                                        <div class="sidebar-image-container">
                                             <img src="<?php echo get_template_directory_uri(); ?>/assets/logo-epicenter.png"  alt="">
                                         </div>
                                         <div>
                                             <?php $args = array(
                                                 'posts_per_page'   => 1,
-                                                'category'         => '53',
+                                                'category'         => '2',
                                                 'orderby'          => 'date',
                                                 'order'            => 'DESC',
                                                 'post_type'        => 'post',