From: Ian Weller Date: Wed, 17 Aug 2016 18:52:53 +0000 (-0400) Subject: got the background code set for the correct height X-Git-Tag: v1.0.0^2~118 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=5eb7e49fcb300d7235176002237660fc602ba435;p=WP-Themes%2Fpetoskeyarea.git got the background code set for the correct height --- diff --git a/functions.php b/functions.php index c5c21d6..667e1de 100644 --- a/functions.php +++ b/functions.php @@ -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 '>';