From: Anthony Talarico Date: Fri, 20 Nov 2015 19:29:53 +0000 (-0500) Subject: Adjusting glm get header in functions.php X-Git-Tag: v1.0.0^2~47 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=a8d490bb62b8401934bc716851ab4a8cf7a81aa1;p=WP-Themes%2Fupwatertrails.git Adjusting glm get header in functions.php --- diff --git a/functions.php b/functions.php index 7c6f2c8..a2198d7 100644 --- a/functions.php +++ b/functions.php @@ -83,6 +83,7 @@ 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('.get_template_directory_uri().'/assets/interior-page-header.jpg);min-height:112px;padding:0;background-position:center center;background-size: cover;background-repeat:no-repeat;max-height: 300px;"'; + echo ' class="no-featured"'; //echo ' style="background-image: url('.$image_data[0].');height:0;padding:0;padding-bottom:20%;background-position:center center;background-size: 100%;background-repeat:no-repeat;max-height: 300px; "'; } else { echo ' style="background-image: url('.get_template_directory_uri().'/assets/interior-page-header.jpg);min-height:112px;padding:0;background-position:center center;background-size: cover;background-repeat:no-repeat;max-height: 300px;"';