From c29e4b338950245fc8e984d9950ae997cc29c371 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Fri, 19 Feb 2016 16:07:28 -0500 Subject: [PATCH] changed no featured background size to cover --- front-page.php | 4 ++-- functions.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 '>'; -- 2.17.1