From: Anthony Talarico Date: Fri, 19 Feb 2016 21:07:28 +0000 (-0500) Subject: changed no featured background size to cover X-Git-Tag: v1.0.0^2~154 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=c29e4b338950245fc8e984d9950ae997cc29c371;p=WP-Themes%2FDiscoverKZOO.git changed no featured background size to cover --- diff --git a/front-page.php b/front-page.php index 1737c44..3cca0eb 100644 --- a/front-page.php +++ b/front-page.php @@ -36,8 +36,8 @@
-
-

#DiscoverKZoo

+
diff --git a/functions.php b/functions.php index 96b0206..4452850 100644 --- a/functions.php +++ b/functions.php @@ -102,7 +102,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:300px;padding:0;padding-bottom:300px;background-position:center center;background-size: 100% 100%;background-repeat:no-repeat;max-height: 300px; "'; } else { - echo ' style="background-image: url('.get_template_directory_uri().'/assets/stay.jpg);height:300px;padding:0;padding-bottom:300px;background-position:center center;background-size: 100% 100%;background-repeat:no-repeat;max-height: 300px;"'; + echo ' style="background-image: url('.get_template_directory_uri().'/assets/stay.jpg);height:300px;padding:0;padding-bottom:300px;background-position:center center;background-size: cover;background-repeat:no-repeat;max-height: 300px;"'; echo ' class="no-featured"'; } echo '>';