<?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 Color Change On Scroll &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/navbar-color-change-on-scroll/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/navbar-color-change-on-scroll/feed/</link>
		<description></description>
		<lastBuildDate>Sun, 12 Oct 2025 03:01:47 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/navbar-color-change-on-scroll/#post-274419</guid>
					<title><![CDATA[Navbar Color Change On Scroll]]></title>
					<link>https://theme.co/archive/forums/topic/navbar-color-change-on-scroll/#post-274419</link>
					<pubDate>Fri, 15 May 2015 15:20:10 +0000</pubDate>
					<dc:creator>Sean K</dc:creator>

					<description>
						<![CDATA[
						<p>I&#8217;m trying to get my &#8220;.x-navbar&#8221; to change color upon scrolling. I&#8217;ve tried plugging in multiple snippets of jQuery from Stack Overflow but none of them have worked. I feel like this has to be a simple little piece of JavaScript right?</p>
<p>EDIT:<br />
Preferably, I&#8217;d like to be able to change/add a class to the navbar so I could easily change the color of the links when the bar color changes as well.</p>
<p>Any help would be amazing. Thanks!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/navbar-color-change-on-scroll/#post-274570</guid>
					<title><![CDATA[Reply To: Navbar Color Change On Scroll]]></title>
					<link>https://theme.co/archive/forums/topic/navbar-color-change-on-scroll/#post-274570</link>
					<pubDate>Fri, 15 May 2015 20:03:06 +0000</pubDate>
					<dc:creator>Zeshan</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Sean,</p>
<p>Thanks for writing in!</p>
<p>This requires custom development, regretfully, that would fall beyond the scope of support we can offer. However, in the meantime, you can try using this JS under <strong>Custom &gt; JavaScript</strong> in the Customizer:</p>
<pre><code>jQuery(document).ready(function($) {
  $(window).scroll(function() {
    var scrollPos = $(window).scrollTop(),
        navbar = $(&#039;.x-navbar&#039;);

    if (scrollPos &gt; 1000) {
      navbar.addClass(&#039;alt-color&#039;);
    } else {
      navbar.removeClass(&#039;alt-color&#039;);
    }
  });
});
</code></pre>
<p>Adjust <strong>1000</strong> from the code to change the point. This code will apply a class of <strong>alt-color</strong> when the navabr reaches the position. You can then style it using CSS as per your preference. For example, add under <strong>Custom &gt; CSS</strong> in the Customizer:</p>
<pre><code>.x-navbar {
    transition: 0.2s all linear;
}

.x-navbar.alt-color {
    background-color: blue;
}
</code></pre>
<p>Hope this helps. 🙂</p>
<p>Thank you.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/navbar-color-change-on-scroll/#post-279620</guid>
					<title><![CDATA[Reply To: Navbar Color Change On Scroll]]></title>
					<link>https://theme.co/archive/forums/topic/navbar-color-change-on-scroll/#post-279620</link>
					<pubDate>Fri, 22 May 2015 18:16:01 +0000</pubDate>
					<dc:creator>Sean K</dc:creator>

					<description>
						<![CDATA[
						<p>Worked like a charm. I did have to a &#8220;!important&#8221; tag to the &#8220;background-color&#8221; for some reason. But it works just fine. Thanks!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/navbar-color-change-on-scroll/#post-279860</guid>
					<title><![CDATA[Reply To: Navbar Color Change On Scroll]]></title>
					<link>https://theme.co/archive/forums/topic/navbar-color-change-on-scroll/#post-279860</link>
					<pubDate>Sat, 23 May 2015 01:45:33 +0000</pubDate>
					<dc:creator>Friech</dc:creator>

					<description>
						<![CDATA[
						<p>You&#8217;re more than welcome, glad we could help, Cheers!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/navbar-color-change-on-scroll/#post-645029</guid>
					<title><![CDATA[Reply To: Navbar Color Change On Scroll]]></title>
					<link>https://theme.co/archive/forums/topic/navbar-color-change-on-scroll/#post-645029</link>
					<pubDate>Thu, 29 Oct 2015 17:33:45 +0000</pubDate>
					<dc:creator>Mikedrychatshop</dc:creator>

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

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/navbar-color-change-on-scroll/#post-645032</guid>
					<title><![CDATA[Reply To: Navbar Color Change On Scroll]]></title>
					<link>https://theme.co/archive/forums/topic/navbar-color-change-on-scroll/#post-645032</link>
					<pubDate>Thu, 29 Oct 2015 17:34:59 +0000</pubDate>
					<dc:creator>Mikedrychatshop</dc:creator>

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

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/navbar-color-change-on-scroll/#post-645414</guid>
					<title><![CDATA[Reply To: Navbar Color Change On Scroll]]></title>
					<link>https://theme.co/archive/forums/topic/navbar-color-change-on-scroll/#post-645414</link>
					<pubDate>Thu, 29 Oct 2015 22:16:17 +0000</pubDate>
					<dc:creator>John Ezra</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>Thanks for writing in! Regretfully, we don&#8217;t have emails for you to contact us. Everything is handled here via the forum. You can click on the <strong>Set as private reply</strong> option to make your reply private and only our staff can have access to it, like you have done already. If you would like to be extra sure, you can create a new thread and explain your issue and what you have done so far and provide us your logins credentials via private message.</p>
<p>You should be able to make the entire new thread private if you are the creator. If not you can simply send us a message and we can make your thread private so it won&#8217;t show up on the forum.</p>
<p>Let us know how that goes. Hope this helps &#8211; thanks!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/navbar-color-change-on-scroll/#post-649234</guid>
					<title><![CDATA[Reply To: Navbar Color Change On Scroll]]></title>
					<link>https://theme.co/archive/forums/topic/navbar-color-change-on-scroll/#post-649234</link>
					<pubDate>Mon, 02 Nov 2015 13:28:38 +0000</pubDate>
					<dc:creator>Mikedrychatshop</dc:creator>

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

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/navbar-color-change-on-scroll/#post-649297</guid>
					<title><![CDATA[Reply To: Navbar Color Change On Scroll]]></title>
					<link>https://theme.co/archive/forums/topic/navbar-color-change-on-scroll/#post-649297</link>
					<pubDate>Mon, 02 Nov 2015 14:28:06 +0000</pubDate>
					<dc:creator>Zeshan</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Mike,</p>
<p>Thanks for the login credentials!</p>
<p>To remove the line, please add following CSS under <strong>Custom &gt; CSS</strong> in the Customizer:</p>
<pre><code>body.x-navbar-fixed-top-active .x-navbar-wrap {
   margin-bottom: 0;
}
</code></pre>
<p>Hope this helps. 🙂</p>
<p>Thank you!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/navbar-color-change-on-scroll/#post-658659</guid>
					<title><![CDATA[Reply To: Navbar Color Change On Scroll]]></title>
					<link>https://theme.co/archive/forums/topic/navbar-color-change-on-scroll/#post-658659</link>
					<pubDate>Mon, 09 Nov 2015 21:22:42 +0000</pubDate>
					<dc:creator>Mikedrychatshop</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,</p>
<p>Unfortunately the line is still there. If it helps, it only appears when the page first loads and disappears as soon as the user scrolls. It doesn&#8217;t reappear when they scroll back to the top though and begin to scroll again.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

