From d36f3c1ef54f748b0172bd653bee34c84289ad2f Mon Sep 17 00:00:00 2001 From: Ian Weller Date: Tue, 14 Jun 2016 15:03:57 -0400 Subject: [PATCH] fixed a problem I made in the functions file --- functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index 3667e39..21ad351 100644 --- a/functions.php +++ b/functions.php @@ -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 '>'; -- 2.17.1