From: Laury GvR Date: Tue, 3 Feb 2015 13:58:35 +0000 (-0500) Subject: Featured images and default headers now same height X-Git-Tag: v1.0.0^2~37 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=806eed6a297b4e33f187205aac893e57c76ba7a0;p=WP-Themes%2FMackinawBrigadoon.git Featured images and default headers now same height --- diff --git a/functions.php b/functions.php index deb37f5..e9a9636 100755 --- a/functions.php +++ b/functions.php @@ -118,7 +118,7 @@ function GLM_get_header() { $image_data = wp_get_attachment_image_src(get_post_thumbnail_id(), "full"); 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;'; } else { - echo ' style="background-image: url('.get_template_directory_uri().'/assets/default-header.jpg);height:0;padding:0;padding-bottom:30%;background-position:center center;background-size: 100%;background-repeat:no-repeat;'; + echo ' style="background-image: url('.get_template_directory_uri().'/assets/default-header.jpg);height:0;padding:0;padding-bottom:20%;background-position:center center;background-size: 100%;background-repeat:no-repeat;'; } echo 'max-height: 300px; ">'; echo '';