<?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>Different logo after scrolling &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/different-logo-after-scrolling/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/different-logo-after-scrolling/feed/</link>
		<description></description>
		<lastBuildDate>Sat, 18 Oct 2025 04:46:20 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/different-logo-after-scrolling/#post-180917</guid>
					<title><![CDATA[Different logo after scrolling]]></title>
					<link>https://theme.co/archive/forums/topic/different-logo-after-scrolling/#post-180917</link>
					<pubDate>Mon, 12 Jan 2015 01:19:40 +0000</pubDate>
					<dc:creator>wrocff</dc:creator>

					<description>
						<![CDATA[
						<p>Hi</p>
<p>I have a fixed top header on my site (URL: <a href="http://wrocff.vot.pl" rel="nofollow">http://wrocff.vot.pl</a>) and I am wondering if it is possible to change the logo when scrolling down the site?  I want to keep only circle symbol (without name) after scrolling (it could be in other file). </p>
<p>Besides changing the logo when scrolling, I want the header to be a bit lower. </p>
<p>Is there any chance to help me with this case? </p>
<p>Thank you<br />
Wiktor</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/different-logo-after-scrolling/#post-181154</guid>
					<title><![CDATA[Reply To: Different logo after scrolling]]></title>
					<link>https://theme.co/archive/forums/topic/different-logo-after-scrolling/#post-181154</link>
					<pubDate>Mon, 12 Jan 2015 10:46:05 +0000</pubDate>
					<dc:creator>Paul R</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Wiktor,</p>
<p>Thanks for writing in!</p>
<p>To achieve that, you can add this under <strong>Custom &gt; Javascript</strong> in the <strong>Customizer</strong>.</p>
<pre><code>
jQuery(function($) {
    $(&#039;.x-navbar-fixed-top .x-brand img&#039;).attr(&#039;src&#039;,&#039;http://www.wrocff.vot.pl/wp-content/uploads/2015/01/logowrocff.png&#039;);
});
</code></pre>
<p>Change <a href="http://www.wrocff.vot.pl/wp-content/uploads/2015/01/logowrocff.png" rel="nofollow">http://www.wrocff.vot.pl/wp-content/uploads/2015/01/logowrocff.png</a> with your circle image.</p>
<p>To reduce height of header on scroll, you can add this under <strong>Custom &gt; CSS</strong> in the <strong>Customizer</strong>.</p>
<pre><code>
.x-navbar.x-navbar-fixed-top .desktop .x-nav &gt; li &gt; a {
     height: 100px;
     padding-top: 40px;
}
</code></pre>
<p>Change 100px and 40px to achieve your desired height.</p>
<p>Hope that helps.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/different-logo-after-scrolling/#post-181525</guid>
					<title><![CDATA[Reply To: Different logo after scrolling]]></title>
					<link>https://theme.co/archive/forums/topic/different-logo-after-scrolling/#post-181525</link>
					<pubDate>Mon, 12 Jan 2015 21:57:48 +0000</pubDate>
					<dc:creator>wrocff</dc:creator>

					<description>
						<![CDATA[
						<p>Hi, </p>
<p>this javascript code doesn&#8217;t work, logo doesn&#8217;t change after replacing link to file (new image: <a href="http://www.wrocff.vot.pl/wp-content/uploads/2015/01/logosymbol.png" rel="nofollow">http://www.wrocff.vot.pl/wp-content/uploads/2015/01/logosymbol.png</a>) </p>
<p>Hope you will find another way to help me (or I just doing something wrong)</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/different-logo-after-scrolling/#post-181820</guid>
					<title><![CDATA[Reply To: Different logo after scrolling]]></title>
					<link>https://theme.co/archive/forums/topic/different-logo-after-scrolling/#post-181820</link>
					<pubDate>Tue, 13 Jan 2015 09:55:50 +0000</pubDate>
					<dc:creator>Paul R</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,</p>
<p>Sorry about that, please replace the javascript code with this.</p>
<pre><code>
jQuery(function($) {
$(window).scroll(function() {
       if($(&#039;.x-navbar&#039;).hasClass(&#039;x-navbar-fixed-top&#039;)) {
               $(&#039;.x-navbar-fixed-top .x-brand img&#039;).attr(&#039;src&#039;,&#039;http://www.wrocff.vot.pl/wp-content/uploads/2015/01/logosymbol.png&#039;);
       }
});

});
</code></pre>
<p>Hope that helps.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/different-logo-after-scrolling/#post-311898</guid>
					<title><![CDATA[Reply To: Different logo after scrolling]]></title>
					<link>https://theme.co/archive/forums/topic/different-logo-after-scrolling/#post-311898</link>
					<pubDate>Wed, 24 Jun 2015 19:55:51 +0000</pubDate>
					<dc:creator>Eduards C</dc:creator>

					<description>
						<![CDATA[
						<p>Hello, I wanted to achieve the same result, but is it possible to restore the original logo image as soon as I reach the top of the page again? With the code above it works, but once I scroll the logo changes until I refresh the page..</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/different-logo-after-scrolling/#post-312147</guid>
					<title><![CDATA[Reply To: Different logo after scrolling]]></title>
					<link>https://theme.co/archive/forums/topic/different-logo-after-scrolling/#post-312147</link>
					<pubDate>Thu, 25 Jun 2015 01:19:23 +0000</pubDate>
					<dc:creator>Rue Nel</dc:creator>

					<description>
						<![CDATA[
						<p>Hello There,</p>
<p>Thanks for updating this thread! </p>
<p>To have the same effect but switches back to the original logo once you scroll up, please add the following JS code instead in the customizer, <strong>Appearance &gt; Customize &gt; Custom &gt; Javascript</strong></p>
<pre><code>jQuery(function($) {
 $(window).scroll(function() {
   if($(&#039;.x-navbar&#039;).hasClass(&#039;x-navbar-fixed-top&#039;)) {
     $(&#039;.x-navbar-fixed-top .x-brand img&#039;).attr(&#039;src&#039;,&#039;http://placehold.it/120?text=Secondary+Logo!&#039;);
   }else{
     $(&#039;.x-navbar .x-brand img&#039;).attr(&#039;src&#039;,&#039;http://placehold.it/120?text=Original+Logo!&#039;);
   }
 });
});</code></pre>
<p>We’d love to know if this works out for you.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/different-logo-after-scrolling/#post-312410</guid>
					<title><![CDATA[Reply To: Different logo after scrolling]]></title>
					<link>https://theme.co/archive/forums/topic/different-logo-after-scrolling/#post-312410</link>
					<pubDate>Thu, 25 Jun 2015 08:01:14 +0000</pubDate>
					<dc:creator>Eduards C</dc:creator>

					<description>
						<![CDATA[
						<p>Hello, thank you for your reply! 🙂</p>
<p>I have inserted the code, but it still doesn&#8217;t change back to the original logo once I scroll down, I have other function above this one maybe that would be the problem?</p>
<p>My code is like this in the costumizer</p>
<pre><code>jQuery(document).ready(function($){
	$(window).scroll(function(){
		if ($(this).scrollTop() &gt; 0) {
			$(&#039;.x-navbar-fixed-top&#039;).css(&quot;background-color&quot;, &quot;#fff&quot;);
		} else {
			$(&#039;.x-navbar-fixed-top&#039;).css(&quot;background-color&quot;, &quot;transparent&quot;);
		}
	});
});

jQuery(function($) {
 $(window).scroll(function() {
   if($(&#039;.x-navbar&#039;).hasClass(&#039;x-navbar-fixed-top&#039;)) {
     $(&#039;.x-navbar-fixed-top .x-brand img&#039;).attr(&#039;src&#039;,&#039;http://aiesec.dk/wp-content/uploads/2015/06/logo_black.png&#039;);
   }else{
     $(&#039;.x-navbar .x-brand img&#039;).attr(&#039;src&#039;,&#039;http://aiesec.dk/wp-content/uploads/2015/06/logo.png&#039;);
   }
 });
});</code></pre>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/different-logo-after-scrolling/#post-312414</guid>
					<title><![CDATA[Reply To: Different logo after scrolling]]></title>
					<link>https://theme.co/archive/forums/topic/different-logo-after-scrolling/#post-312414</link>
					<pubDate>Thu, 25 Jun 2015 08:09:51 +0000</pubDate>
					<dc:creator>Eduards C</dc:creator>

					<description>
						<![CDATA[
						<p>Just to make it more clear.. I want to achieve this:</p>
<p><img decoding="async" src="http://3.1m.yt/MKUlDUaqa.png" alt="" /></p>
<p>So when the scroll is all up to the page, the logo stays black, and when it scrolls changes to blue like this:</p>
<p><img decoding="async" src="http://3.1m.yt/TgRF5sj_h.png" alt="" /></p>
<p>And if I refresh the page or simple go to aiesec.dk the logo is still blue, if I scroll changes to black and it stays black until I refresh or go to another page..</p>
<p><img decoding="async" src="http://3.1m.yt/OteBJw8GT.png" alt="" /></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/different-logo-after-scrolling/#post-312496</guid>
					<title><![CDATA[Reply To: Different logo after scrolling]]></title>
					<link>https://theme.co/archive/forums/topic/different-logo-after-scrolling/#post-312496</link>
					<pubDate>Thu, 25 Jun 2015 10:00:24 +0000</pubDate>
					<dc:creator>Rue Nel</dc:creator>

					<description>
						<![CDATA[
						<p>Hello There,</p>
<p>Please check your customizer setting if you already added your logo or not. Maybe you are just using logo text yet. We could not give you a precise solution, would you mind providing us access to your site because it is under construction mode. </p>
<p>For the meantime, please use this code instead:</p>
<pre><code>(function($){
 $(window).bind(&#039;scroll&#039;, function() {
   if($(&#039;.x-navbar&#039;).hasClass(&#039;x-navbar-fixed-top&#039;)) {
     $(&#039;.x-navbar .x-brand img&#039;).attr(&#039;src&#039;,&#039;http://aiesec.dk/wp-content/uploads/2015/06/logo_black.png&#039;);
   }else{
     $(&#039;.x-navbar .x-brand img&#039;).attr(&#039;src&#039;,&#039;http://aiesec.dk/wp-content/uploads/2015/06/logo.png&#039;);
   }
 });
})(jQuery);</code></pre>
<p>For the background color of your navbar, you can use this custom css in your customizer, <strong>Appearance &gt; Customize &gt; Custom &gt; CSS</strong></p>
<pre><code>.x-navbar {
  background-color: transparent;
}

.x-navbar.x-navbar-fixed-top {
  background-color: transparent;
}</code></pre>
<p>As an alternative with your own code, you can simply have it this way:</p>
<pre><code>jQuery(document).ready(function($){
  $(window).scroll(function(){
    if ($(this).scrollTop() &gt; 0) {
      $(&#039;.x-navbar-fixed-top&#039;).css(&quot;background-color&quot;, &quot;#fff&quot;);
      $(&#039;.x-navbar-fixed-top .x-brand img&#039;).attr(&#039;src&#039;,&#039;http://aiesec.dk/wp-content/uploads/2015/06/logo_black.png&#039;);
    } else {
      $(&#039;.x-navbar-fixed-top&#039;).css(&quot;background-color&quot;, &quot;transparent&quot;);
      $(&#039;.x-navbar .x-brand img&#039;).attr(&#039;src&#039;,&#039;http://aiesec.dk/wp-content/uploads/2015/06/logo.png&#039;);
    }
  });
});</code></pre>
<p>Hope this helps.</p>
<p>If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.</p>
<p>Thank you for your understanding.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/different-logo-after-scrolling/#post-314015</guid>
					<title><![CDATA[Reply To: Different logo after scrolling]]></title>
					<link>https://theme.co/archive/forums/topic/different-logo-after-scrolling/#post-314015</link>
					<pubDate>Fri, 26 Jun 2015 20:15:46 +0000</pubDate>
					<dc:creator>Eduards C</dc:creator>

					<description>
						<![CDATA[
						<p>Thank you so much, once again you help me a lot! Regards</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

