From 5eb7e49fcb300d7235176002237660fc602ba435 Mon Sep 17 00:00:00 2001 From: Ian Weller Date: Wed, 17 Aug 2016 14:52:53 -0400 Subject: [PATCH] got the background code set for the correct height --- functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 '>'; -- 2.17.1