forgot a small piece of the inline css in the function.php
authorIan Weller <ian@gaslightmedia.com>
Mon, 9 Nov 2015 18:38:17 +0000 (13:38 -0500)
committerIan Weller <ian@gaslightmedia.com>
Mon, 9 Nov 2015 18:38:17 +0000 (13:38 -0500)
functions.php

index ec97276..6d3e572 100644 (file)
@@ -207,7 +207,7 @@ function glm_get_header() {
             $image_data = wp_get_attachment_image_src(get_post_thumbnail_id(), "full");
             echo ' style="background-image: url('.$image_data[0].');height:0;padding:0;padding-bottom:20%;background-position:center center;background-size: 100%;background-repeat:no-repeat;max-height: 300px; "';
     } else {
-            echo ' style="background-image: url('.get_template_directory_uri().'/assets/header-image-1000x200.jpg);height:200;padding:0;background-position:center center;background-size: 100%;background-repeat:no-repeat;width: 1000px;"';
+            echo ' style="background-image: url('.get_template_directory_uri().'/assets/header-image-1000x200.jpg);height:200px;padding:0;background-position:center center;background-size: 100%;background-repeat:no-repeat;width: 1000px;"';
             echo ' class="no-featured"';
     }
     echo '>';