<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>

		<title>Add css background overlay on top of backstretch class &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/add-css-background-overlay-on-top-of-backstretch-class/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/add-css-background-overlay-on-top-of-backstretch-class/feed/</link>
		<description></description>
		<lastBuildDate>Sun, 19 Oct 2025 23:49:32 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/add-css-background-overlay-on-top-of-backstretch-class/#post-153756</guid>
					<title><![CDATA[Add css background overlay on top of backstretch class]]></title>
					<link>https://theme.co/archive/forums/topic/add-css-background-overlay-on-top-of-backstretch-class/#post-153756</link>
					<pubDate>Thu, 27 Nov 2014 06:55:24 +0000</pubDate>
					<dc:creator>Nick M</dc:creator>

					<description>
						<![CDATA[
						<p>Hello,</p>
<p>I&#8217;m trying to add a css background overlay on top of the backstretch class (background image) &#8211; I have found recent article stating that to do so I should use the body .site class and add my background there. However, with infinity when I do this using a left navbar menu it will only fill the right hand side body content<br />
Screenshot:<br />
<a href="https://www.dropbox.com/s/rzihdm8g6nc5w7x/Screenshot%202014-11-27%2001.52.43.png?dl=0" rel="nofollow">https://www.dropbox.com/s/rzihdm8g6nc5w7x/Screenshot%202014-11-27%2001.52.43.png?dl=0</a></p>
<p>I was able to manipulate the background so that it stretches the entire screen using:<br />
body .site {<br />
position: fixed;<br />
top: 0;<br />
left: 0;<br />
width: 100%;<br />
height: 100%;<br />
z-index: -1;<br />
background: url(/wp-content/themes/x-child-integrity-dark/images/background-image-overlay.png) repeat;<br />
}</p>
<p>However, when I do this it will not let me scroll to additional content below the fold.</p>
<p>My ideal solution would be to figure out how to add a class above .backstretch background so that it will just have an overlay on top of the image which fills the entire viewport.</p>
<p>Thanks,</p>
<p>Nick</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/add-css-background-overlay-on-top-of-backstretch-class/#post-154082</guid>
					<title><![CDATA[Reply To: Add css background overlay on top of backstretch class]]></title>
					<link>https://theme.co/archive/forums/topic/add-css-background-overlay-on-top-of-backstretch-class/#post-154082</link>
					<pubDate>Thu, 27 Nov 2014 16:37:28 +0000</pubDate>
					<dc:creator>Zeshan</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Nick,</p>
<p>Thanks for posting in!</p>
<p>Yes, your CSS will fix the .site and won&#8217;t let you scroll the rest of the content. However to assist you with this, we&#8217;ll first need you to provide us with your URL as stated on the forum entrance page. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.</p>
<p>Thanks!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/add-css-background-overlay-on-top-of-backstretch-class/#post-161371</guid>
					<title><![CDATA[Reply To: Add css background overlay on top of backstretch class]]></title>
					<link>https://theme.co/archive/forums/topic/add-css-background-overlay-on-top-of-backstretch-class/#post-161371</link>
					<pubDate>Tue, 09 Dec 2014 20:12:12 +0000</pubDate>
					<dc:creator>Nick M</dc:creator>

					<description>
						<![CDATA[
						<p>Hello,</p>
<p>The site can be found at <a href="http://dev.brewwindsor.com" rel="nofollow">http://dev.brewwindsor.com</a>.</p>
<p>Thanks,</p>
<p>Nick</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/add-css-background-overlay-on-top-of-backstretch-class/#post-161376</guid>
					<title><![CDATA[Reply To: Add css background overlay on top of backstretch class]]></title>
					<link>https://theme.co/archive/forums/topic/add-css-background-overlay-on-top-of-backstretch-class/#post-161376</link>
					<pubDate>Tue, 09 Dec 2014 20:26:03 +0000</pubDate>
					<dc:creator>Nick M</dc:creator>

					<description>
						<![CDATA[
						<p>This is what we are shooting for <a href="http://www.brewwindsor.com/" rel="nofollow">http://www.brewwindsor.com/</a> without the parrallax</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/add-css-background-overlay-on-top-of-backstretch-class/#post-161726</guid>
					<title><![CDATA[Reply To: Add css background overlay on top of backstretch class]]></title>
					<link>https://theme.co/archive/forums/topic/add-css-background-overlay-on-top-of-backstretch-class/#post-161726</link>
					<pubDate>Wed, 10 Dec 2014 10:44:32 +0000</pubDate>
					<dc:creator>Christopher</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>Please try this code:</p>
<pre><code>body {
background: url(/wp-content/themes/x-child-integrity-dark/images/background-image-overlay.png);
top: 0;
width: 100%;
right: 0;
left: 0;
height: 100%;
position: fixed;
}</code></pre>
<p>Hope that helps.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/add-css-background-overlay-on-top-of-backstretch-class/#post-164967</guid>
					<title><![CDATA[Reply To: Add css background overlay on top of backstretch class]]></title>
					<link>https://theme.co/archive/forums/topic/add-css-background-overlay-on-top-of-backstretch-class/#post-164967</link>
					<pubDate>Mon, 15 Dec 2014 19:08:24 +0000</pubDate>
					<dc:creator>Nick M</dc:creator>

					<description>
						<![CDATA[
						<p>It&#8217;s working however, the overlay is behind the background image (class=&#8221;backstretch&#8221;) &#8211; we need to adjust the z-index so that way the overlay will appear on top of the background and below the text.</p>
<p>Thanks</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/add-css-background-overlay-on-top-of-backstretch-class/#post-165176</guid>
					<title><![CDATA[Reply To: Add css background overlay on top of backstretch class]]></title>
					<link>https://theme.co/archive/forums/topic/add-css-background-overlay-on-top-of-backstretch-class/#post-165176</link>
					<pubDate>Tue, 16 Dec 2014 02:07:31 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Nick,</p>
<p>Thanks for posting in.</p>
<p>How about this one,</p>
<pre><code>.backstretch:after {
content: url(/wp-content/themes/x-child-integrity-dark/images/background-image-overlay.png);
top: 0;
right: 0;
left: 0;
height: 100%;
width: 100%;
position: fixed;
z-index: 999;
}</code></pre>
<p>Change your z-index accordingly. Cheers!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/add-css-background-overlay-on-top-of-backstretch-class/#post-165265</guid>
					<title><![CDATA[Reply To: Add css background overlay on top of backstretch class]]></title>
					<link>https://theme.co/archive/forums/topic/add-css-background-overlay-on-top-of-backstretch-class/#post-165265</link>
					<pubDate>Tue, 16 Dec 2014 05:50:55 +0000</pubDate>
					<dc:creator>Nick M</dc:creator>

					<description>
						<![CDATA[
						<p>This did not work, not able to see the overlay on top of the backstretch.</p>
<p>The z-index of the .backstretch is z-index: -999999</p>
<p>Nick</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/add-css-background-overlay-on-top-of-backstretch-class/#post-165388</guid>
					<title><![CDATA[Reply To: Add css background overlay on top of backstretch class]]></title>
					<link>https://theme.co/archive/forums/topic/add-css-background-overlay-on-top-of-backstretch-class/#post-165388</link>
					<pubDate>Tue, 16 Dec 2014 10:26:29 +0000</pubDate>
					<dc:creator>Paul R</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Nick,</p>
<p>Can you try this instead.</p>
<p>Add the code below in your child theme functions.php</p>
<pre><code>
function my_custom_footer_output() {
  ?&gt;
       &lt;div id=&quot;supersized_overlay&quot;&gt;&lt;/div&gt;
  &lt;?php
}

add_action( &#039;wp_footer&#039;, &#039;my_custom_footer_output&#039;, 99999 );
</code></pre>
<p>Then add this under <strong>Custom &gt; CSS</strong> in the <strong>Customizer</strong>.</p>
<pre><code>
#supersized_overlay {
display: block;
position: fixed;
left: 0;
top: 0;
overflow: hidden;
z-index: -999998;
height: 100%;
width: 100%;
background: transparent url(&#039;http://dev.brewwindsor.com/wp-content/themes/x-child-integrity-dark/images/background-image-overlay.png&#039;) repeat;
}
</code></pre>
<p>Hope that helps. 🙂</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/add-css-background-overlay-on-top-of-backstretch-class/#post-165552</guid>
					<title><![CDATA[Reply To: Add css background overlay on top of backstretch class]]></title>
					<link>https://theme.co/archive/forums/topic/add-css-background-overlay-on-top-of-backstretch-class/#post-165552</link>
					<pubDate>Tue, 16 Dec 2014 14:33:58 +0000</pubDate>
					<dc:creator>Nick M</dc:creator>

					<description>
						<![CDATA[
						<p>It worked! Thanks again for your help.</p>
<p>Nick</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

