got the background code set for the correct height
authorIan Weller <ian@gaslightmedia.com>
Wed, 17 Aug 2016 18:52:53 +0000 (14:52 -0400)
committerIan Weller <ian@gaslightmedia.com>
Wed, 17 Aug 2016 18:52:53 +0000 (14:52 -0400)
functions.php

index c5c21d6..667e1de 100644 (file)
@@ -184,9 +184,9 @@ function glm_get_header() {
 
     if (has_post_thumbnail()) {
             $image_data = wp_get_attachment_image_src(get_post_thumbnail_id(), "full");
-            echo ' style="background-image: url('.$image_data[0].');height:100%;padding:0;padding-bottom:20%;background-position:center center;background-size: 100%;background-repeat:no-repeat;max-height: 460px; "';
+            echo ' style="background-image: url('.$image_data[0].');height:100%;padding:0;padding-bottom:20%;background-position:center center;background-size: 100%;background-repeat:no-repeat;max-height: 630px; "';
     } else {
-            echo ' style="background:transparent;height:100%;padding:0;padding-bottom:20%;background-position:center center;background-size: 100%;background-repeat:no-repeat;max-height: 460px;"';
+            echo ' style="background:transparent;height:100%;padding:0;padding-bottom:20%;background-position:center center;background-size: 100%;background-repeat:no-repeat;max-height: 630px;"';
             echo ' class="no-featured"';
     }
     echo '>';