<?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>Navbar transparency &#8211;&gt; white on scroll &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/navbar-transparency-white-on-scroll/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/navbar-transparency-white-on-scroll/feed/</link>
		<description></description>
		<lastBuildDate>Sat, 18 Oct 2025 13:58:03 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/navbar-transparency-white-on-scroll/#post-359878</guid>
					<title><![CDATA[Navbar transparency &#8211;&gt; white on scroll]]></title>
					<link>https://theme.co/archive/forums/topic/navbar-transparency-white-on-scroll/#post-359878</link>
					<pubDate>Sat, 15 Aug 2015 13:55:19 +0000</pubDate>
					<dc:creator>ellsworth</dc:creator>

					<description>
						<![CDATA[
						<p>Hi guys,</p>
<p>great work as usual from my favorite theme devs.</p>
<p>I am trying to achieve something relatviely simple<br />
I want to make my navbar transparent when the page loads.<br />
But when I scroll, I&#8217;d like to have it fill out and become white bakground.<br />
I&#8217;ve found this topic here many times and I&#8217;ve tried all of the code associatedd. Still stuck</p>
<p>the code I am using currently in custom &gt; css:</p>
<pre><code>body .x-navbar {
	background-color: rgba(44,62,80, 0.1) !important;
}

body.x-navbar-fixed-top-active .x-navbar-wrap {
	position: fixed;
	z-index: 10000;
	width: 100%;	
}</code></pre>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/navbar-transparency-white-on-scroll/#post-359880</guid>
					<title><![CDATA[Reply To: Navbar transparency &#8211;&gt; white on scroll]]></title>
					<link>https://theme.co/archive/forums/topic/navbar-transparency-white-on-scroll/#post-359880</link>
					<pubDate>Sat, 15 Aug 2015 13:56:06 +0000</pubDate>
					<dc:creator>ellsworth</dc:creator>

					<description>
						<![CDATA[
						This reply has been marked as private.						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/navbar-transparency-white-on-scroll/#post-359886</guid>
					<title><![CDATA[Reply To: Navbar transparency &#8211;&gt; white on scroll]]></title>
					<link>https://theme.co/archive/forums/topic/navbar-transparency-white-on-scroll/#post-359886</link>
					<pubDate>Sat, 15 Aug 2015 14:06:16 +0000</pubDate>
					<dc:creator>ellsworth</dc:creator>

					<description>
						<![CDATA[
						<p>Also, it doesn&#8217;t effect the homepage<br />
but on all other pages, I have the breadcrumb feature turned on<br />
and it does not properly align itself under the navbar when at page top<br />
any thoughts on this too</p>
<p>thanks guys</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/navbar-transparency-white-on-scroll/#post-359896</guid>
					<title><![CDATA[Reply To: Navbar transparency &#8211;&gt; white on scroll]]></title>
					<link>https://theme.co/archive/forums/topic/navbar-transparency-white-on-scroll/#post-359896</link>
					<pubDate>Sat, 15 Aug 2015 14:27:41 +0000</pubDate>
					<dc:creator>Thai</dc:creator>

					<description>
						<![CDATA[
						<p>Hi There,</p>
<p>Please update the previous code a bit:</p>
<pre><code>body .x-navbar {
	background-color: rgba(44,62,80, 0.1);
}</code></pre>
<p>After that adding following code under Customize &gt; Custom &gt; Javascript:</p>
<pre><code>(function($){
	$(window).scroll(function(event) {
		if( $(this).scrollTop() == 0 ){
			$(&quot;.x-navbar&quot;).css(&#039;background-color&#039;, &#039;transparent&#039;);
		} else {
			$(&quot;.x-navbar&quot;).css(&#039;background-color&#039;, &#039;white&#039;);
		}
	});
})(jQuery);</code></pre>
<p>Let us know how it goes!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/navbar-transparency-white-on-scroll/#post-359909</guid>
					<title><![CDATA[Reply To: Navbar transparency &#8211;&gt; white on scroll]]></title>
					<link>https://theme.co/archive/forums/topic/navbar-transparency-white-on-scroll/#post-359909</link>
					<pubDate>Sat, 15 Aug 2015 14:54:35 +0000</pubDate>
					<dc:creator>ellsworth</dc:creator>

					<description>
						<![CDATA[
						<p>That works, thanks so much guys. God I love this product and the team that supports it.<br />
Never will I do another project without X-Theme.</p>
<p>Last question (at least re: navbars)<br />
How can I make the hamburger icon (when on mobile displays) clear like the rest of the navbar?</p>
<p>right now it stands out as white when page loads.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/navbar-transparency-white-on-scroll/#post-359911</guid>
					<title><![CDATA[Reply To: Navbar transparency &#8211;&gt; white on scroll]]></title>
					<link>https://theme.co/archive/forums/topic/navbar-transparency-white-on-scroll/#post-359911</link>
					<pubDate>Sat, 15 Aug 2015 14:58:29 +0000</pubDate>
					<dc:creator>ellsworth</dc:creator>

					<description>
						<![CDATA[
						<p>also re: navbar transparency when at top. It totally works, but&#8230;.<br />
It appears that when I tap the hamburger on mobile it displays the menu with transparency on<br />
It does not do this if any scrolling has been activated<br />
But if I load the page<br />
and click hamburger immediately, it loads with transparency.<br />
is there a special trick to setting it so that mobile menu, when drops down is never transparent.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/navbar-transparency-white-on-scroll/#post-359960</guid>
					<title><![CDATA[Reply To: Navbar transparency &#8211;&gt; white on scroll]]></title>
					<link>https://theme.co/archive/forums/topic/navbar-transparency-white-on-scroll/#post-359960</link>
					<pubDate>Sat, 15 Aug 2015 16:29:54 +0000</pubDate>
					<dc:creator>Thai</dc:creator>

					<description>
						<![CDATA[
						<blockquote><p>Last question (at least re: navbars)<br />
How can I make the hamburger icon (when on mobile displays) clear like the rest of the navbar?</p>
<p>right now it stands out as white when page loads.</p></blockquote>
<p>Please try following CSS:</p>
<pre><code>.x-btn-navbar.collapsed {
    color: rgba(255, 252, 252, 0.7);
    background-color: rgba(255, 252, 252, 0.7);
}</code></pre>
<blockquote><p>also re: navbar transparency when at top. It totally works, but….<br />
It appears that when I tap the hamburger on mobile it displays the menu with transparency on<br />
It does not do this if any scrolling has been activated<br />
But if I load the page<br />
and click hamburger immediately, it loads with transparency.<br />
is there a special trick to setting it so that mobile menu, when drops down is never transparent.</p></blockquote>
<p>Please update the previous Javascript code a bit:</p>
<pre><code>(function($){
	$(window).scroll(function(event) {
		if( $(this).scrollTop() == 0 ){
			$(&quot;.x-navbar&quot;).removeClass(&#039;x-white-bg&#039;);
		} else {
			$(&quot;.x-navbar&quot;).addClass(&#039;x-white-bg&#039;);
		}
	});
	$(&quot;.x-btn-navbar&quot;).click(function(event) {
		$(&quot;.x-navbar&quot;).toggleClass(&quot;x-white-bg&quot;);
	});
})(jQuery);</code></pre>
<p>Also adding this custom CSS under Custom &gt; CSS:</p>
<pre><code>.x-white-bg {
    background-color: #fff !important;
}</code></pre>
<p>Let us know how it goes!</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

