From f21f4648f3907a4220b6c0c204f7ecbab82399c8 Mon Sep 17 00:00:00 2001 From: Ian Weller Date: Tue, 18 Oct 2016 13:59:45 -0400 Subject: [PATCH] I have the height at 370px I have the interior header image at a min height of 370px. It isn't provide the kind of results we want. --- functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index 6682822..e54483c 100644 --- a/functions.php +++ b/functions.php @@ -237,10 +237,10 @@ function glm_get_header() { if ( has_post_thumbnail($post_id) && is_post_type('page')) { $image_data = wp_get_attachment_image_src(get_post_thumbnail_id($post_id), "full"); - echo ' style="background-image: url('.$image_data[0].');padding:0;background-position: top center;background-repeat:no-repeat;min-height: 360px;width: 100%;max-width:1600px;margin: 0 auto; "'; + echo ' style="background-image: url('.$image_data[0].');padding:0;background-position: top center;background-repeat:no-repeat;min-height: 370px;width: 100%;max-width:1600px;margin: 0 auto; "'; } else { - echo ' style="background-image: url('.get_template_directory_uri().'/assets/Default-Featured-Image-1600px.jpg);padding:0;background-position: top center;background-repeat:no-repeat;min-height: 360px;width: 100%;max-width:1600px;margin: 0 auto; "'; + echo ' style="background-image: url('.get_template_directory_uri().'/assets/Default-Featured-Image-1600px.jpg);padding:0;background-position: top center;background-repeat:no-repeat;min-height: 370px;width: 100%;max-width:1600px;margin: 0 auto; "'; echo ' class="no-featured"'; } echo '>'; -- 2.17.1