From: Anthony Talarico Date: Tue, 11 Dec 2018 14:01:46 +0000 (-0500) Subject: fixing background images so that they don't tile. X-Git-Tag: v1.1.34^2~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=848bba437f61879256720b59fee231717cef629c;p=WP-Themes%2FDarkSkiesEmmet.git fixing background images so that they don't tile. adding bg cover and no repeat to the background iamges for posts and pages --- 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 @@ - +