From: Ian Weller Date: Tue, 14 Jun 2016 19:03:57 +0000 (-0400) Subject: fixed a problem I made in the functions file X-Git-Tag: v1.0.0^2~180 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=d36f3c1ef54f748b0172bd653bee34c84289ad2f;p=WP-Themes%2Ffrancejourneys.git fixed a problem I made in the functions file --- 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 '>';