fixed a problem I made in the functions file
authorIan Weller <ian@gaslightmedia.com>
Tue, 14 Jun 2016 19:03:57 +0000 (15:03 -0400)
committerIan Weller <ian@gaslightmedia.com>
Tue, 14 Jun 2016 19:03:57 +0000 (15:03 -0400)
functions.php

index 3667e39..21ad351 100644 (file)
@@ -77,9 +77,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:top center;background-size: 100%;background-repeat:no-repeat;max-height: 670px;min-height: 350px; "';
+            echo ' style="background-image: url('.$image_data[0].');;height:670px;padding:0;padding-bottom:20%;background-position:top center;background-size: 100%;background-repeat:no-repeat;max-height: 670px; "';
     } else {
-            echo ' style="background-image: url('.get_template_directory_uri().'/assets/header-images-1.jpg);height:100%;padding:0;padding-bottom:30%;background-position:top center;background-size: 100%;background-repeat:no-repeat;max-height: 670px;min-height: 350px; "';
+            echo ' style="background-image: url('.get_template_directory_uri().'/assets/header-images-1.jpg);height:670px;padding:0;padding-bottom:30%;background-position:top center;background-size: 100%;background-repeat:no-repeat;max-height: 670px;min-height: 350px; "';
             echo ' class="no-featured"';
     }
     echo '>';