fixing interior page featured image spacing and content placement
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 22 Aug 2018 14:35:15 +0000 (10:35 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 22 Aug 2018 14:35:15 +0000 (10:35 -0400)
functions.php
style.css

index 490d07f..d23efec 100644 (file)
@@ -271,13 +271,14 @@ define( 'OPTIONS_FRAMEWORK_DIRECTORY', get_template_directory_uri() . '/inc/opti
 
 /* Header for posts*/
 function glm_get_header() {
-    echo '<div class="interior-featured"';
+    echo '<div ';
 
     if (has_post_thumbnail()) {
+        echo 'class="interior-featured"';
             $image_data = wp_get_attachment_image_src(get_post_thumbnail_id(), "full");
             echo ' style="background-image: url('.$image_data[0].');height:100%;padding-bottom:27%;background-position:center center;background-size: 100%;background-repeat:no-repeat; "';
     } else {
-            echo ' style="background:transparent;height:100%;padding:0;padding-bottom:0;background-position:center center;background-size: 100%;background-repeat:no-repeat;"';
+            echo ' style="background:transparent;height:100%;padding-bottom:0;background-position:center center;background-size: 100%;background-repeat:no-repeat;"';
             echo ' class="no-featured"';
     }
     echo '>';
index 744988f..c9a295c 100644 (file)
--- a/style.css
+++ b/style.css
@@ -192,7 +192,7 @@ h5,
 h6 {
     font-family: "Georgia", serif;
     margin-bottom: 10px;
-    font-weight: bold;
+    /* font-weight: bold; */
 }
 
 h1 {
@@ -472,7 +472,7 @@ Links
 
 a {
     color: #E66432;
-    text-decoration: none;
+    text-decoration: underline;
 }
 
 /*--------------------------------------------------------------
@@ -2064,7 +2064,12 @@ Portfolio Section
 .portfolio-list:hover .portfolio-overlay {
     display: block;
 }
-
+.portfolio-list:hover{
+    cursor: default;
+}
+.portfolio-overlay > span{
+    display: none;
+}
 .portfolio-list h3 {
     position: absolute;
     width: 100%;
@@ -2272,7 +2277,7 @@ Google Map Section
     content: "\f107";
 }
 .testimonial_rotator_quote{
-    max-width: 500px;
+    max-width: 700px;
     margin: 0 auto;
 }
 #ap-map-canvas {
@@ -2846,4 +2851,14 @@ html body.home #content .parallax-section:nth-child(4) .mid-content>h2 {
 }
 html body.home #content .parallax-section:nth-child(3), html body.home #content .parallax-section:nth-child(2){
     border-top: 4px solid #AE8B5F;
+}
+@media (min-width: 1000px){
+    .no-featured{
+        padding: 80px;
+    }
+}
+@media (max-width: 1000px){
+    .no-featured{
+        padding: 25px;
+    }
 }
\ No newline at end of file