From 848bba437f61879256720b59fee231717cef629c Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Tue, 11 Dec 2018 09:01:46 -0500 Subject: [PATCH] fixing background images so that they don't tile. adding bg cover and no repeat to the background iamges for posts and pages --- functions.php | 4 ++-- home.php | 2 +- single.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/functions.php b/functions.php index 15e3c13..efb1852 100644 --- a/functions.php +++ b/functions.php @@ -136,9 +136,9 @@ function glm_site_scripts() function glm_get_background() { if (has_post_thumbnail()) { $image_data = wp_get_attachment_image_src(get_post_thumbnail_id(), "full"); - $imageUrl = ''; + $imageUrl = ''; } else { - $imageUrl = ''; + $imageUrl = ''; } return $imageUrl; } diff --git a/home.php b/home.php index 72d2d57..b9f464a 100644 --- a/home.php +++ b/home.php @@ -1,5 +1,5 @@ - +
diff --git a/single.php b/single.php index 2b581ad..95e5c26 100644 --- a/single.php +++ b/single.php @@ -1,5 +1,5 @@ - +
-- 2.17.1