<?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>transparent header only when on top of page &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/transparent-header-only-when-on-top-of-page/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/transparent-header-only-when-on-top-of-page/feed/</link>
		<description></description>
		<lastBuildDate>Sat, 11 Oct 2025 15:47:37 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/transparent-header-only-when-on-top-of-page/#post-350542</guid>
					<title><![CDATA[transparent header only when on top of page]]></title>
					<link>https://theme.co/archive/forums/topic/transparent-header-only-when-on-top-of-page/#post-350542</link>
					<pubDate>Wed, 05 Aug 2015 09:06:19 +0000</pubDate>
					<dc:creator>Timmid</dc:creator>

					<description>
						<![CDATA[
						<p>Hello X theme,</p>
<p>I like to have the header effect as discussed in this forum topic:<br />
<a href="https://community.theme.co//forums/topic/transparent-headernavbar-only-when-on-top-of-page/" rel="nofollow">https://community.theme.co//forums/topic/transparent-headernavbar-only-when-on-top-of-page/</a></p>
<p>A transparent header when on top-of-page, with a slightly higher height and logo size. As soon as we start to scroll, the header goes back to a smaller size with a plain background.</p>
<p>I added the CSS and Script on my website but it doesn&#8217;t work for me. The header stays on the bottom of the page.</p>
<p>you can find my website here:<br />
<a href="http://paradigmum.nl/projecten/ktb/" rel="nofollow">http://paradigmum.nl/projecten/ktb/</a></p>
<p>Thx in advance.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/transparent-header-only-when-on-top-of-page/#post-350604</guid>
					<title><![CDATA[Reply To: transparent header only when on top of page]]></title>
					<link>https://theme.co/archive/forums/topic/transparent-header-only-when-on-top-of-page/#post-350604</link>
					<pubDate>Wed, 05 Aug 2015 10:24:05 +0000</pubDate>
					<dc:creator>Zeshan</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Timmid,</p>
<p>Thanks for writing in! If you want to keep your navbar transparent like this: <a href="http://prntscr.com/812ghr" rel="nofollow">http://prntscr.com/812ghr</a> and fixed to top with a solid background color on  scrolling, you can use following CSS code under <strong>Custom &gt; CSS</strong> in the Customizer:</p>
<pre><code>@media (min-width: 768px) {
    .x-navbar:not(.x-navbar-fixed-top) {
        background-color: transparent;
        margin-top: -110px;
        box-shadow: none;
    }
}
</code></pre>
<p>Thanks!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/transparent-header-only-when-on-top-of-page/#post-350627</guid>
					<title><![CDATA[Reply To: transparent header only when on top of page]]></title>
					<link>https://theme.co/archive/forums/topic/transparent-header-only-when-on-top-of-page/#post-350627</link>
					<pubDate>Wed, 05 Aug 2015 10:50:46 +0000</pubDate>
					<dc:creator>Timmid</dc:creator>

					<description>
						<![CDATA[
						<p>Thx for the help.</p>
<p>The transparent part is working. But the menu isn&#8217;t at the top of the page. Can you help me with that?</p>
<p>And because the nabber is transparent now I see a problem with the logo and menu link colors. Is it possible to have a different logo image when the menu is transparent? and a different menu link color?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/transparent-header-only-when-on-top-of-page/#post-350679</guid>
					<title><![CDATA[Reply To: transparent header only when on top of page]]></title>
					<link>https://theme.co/archive/forums/topic/transparent-header-only-when-on-top-of-page/#post-350679</link>
					<pubDate>Wed, 05 Aug 2015 11:58:28 +0000</pubDate>
					<dc:creator>Zeshan</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Timmid,</p>
<p>To move your logo to the top, use following CSS code instead of the provided one:</p>
<pre><code>@media (min-width: 768px) {
    .x-navbar:not(.x-navbar-fixed-top) {
        background-color: transparent;
        box-shadow: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        border: none;
    }
}
</code></pre>
<p>As for the different logo and colors, this could technically be possible to achieve with more in depth CSS and JS customizations but would fall beyond the scope of support we can provide. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities. </p>
<p>Thanks for understanding.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/transparent-header-only-when-on-top-of-page/#post-350693</guid>
					<title><![CDATA[Reply To: transparent header only when on top of page]]></title>
					<link>https://theme.co/archive/forums/topic/transparent-header-only-when-on-top-of-page/#post-350693</link>
					<pubDate>Wed, 05 Aug 2015 12:14:18 +0000</pubDate>
					<dc:creator>Timmid</dc:creator>

					<description>
						<![CDATA[
						<p>Thank you, this works great!</p>
<p>Can i change when the header with background comes in? I would like to have it directly after the slider. Now it takes a bit more time when the menu shows.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/transparent-header-only-when-on-top-of-page/#post-350720</guid>
					<title><![CDATA[Reply To: transparent header only when on top of page]]></title>
					<link>https://theme.co/archive/forums/topic/transparent-header-only-when-on-top-of-page/#post-350720</link>
					<pubDate>Wed, 05 Aug 2015 12:36:19 +0000</pubDate>
					<dc:creator>Timmid</dc:creator>

					<description>
						<![CDATA[
						<p>Already found a solution to change the logo when scrolling. So if i can change it when the menu with background comes in i&#8217;m a happy man 🙂</p>
<p>Thank you!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/transparent-header-only-when-on-top-of-page/#post-350735</guid>
					<title><![CDATA[Reply To: transparent header only when on top of page]]></title>
					<link>https://theme.co/archive/forums/topic/transparent-header-only-when-on-top-of-page/#post-350735</link>
					<pubDate>Wed, 05 Aug 2015 12:49:31 +0000</pubDate>
					<dc:creator>Christopher</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>Please provide us with the code you have already added to your site to achieve this.</p>
<p>Thanks.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/transparent-header-only-when-on-top-of-page/#post-350811</guid>
					<title><![CDATA[Reply To: transparent header only when on top of page]]></title>
					<link>https://theme.co/archive/forums/topic/transparent-header-only-when-on-top-of-page/#post-350811</link>
					<pubDate>Wed, 05 Aug 2015 14:02:01 +0000</pubDate>
					<dc:creator>Timmid</dc:creator>

					<description>
						<![CDATA[
						<p>these are the codes that i have added</p>
<p>CSS</p>
<pre><code>.x-navbar {
    background-color: transparent;
}

.x-navbar.x-navbar-fixed-top {
    background-color: white;
    height: 80px;
}

.x-navbar.x-navbar-fixed-top  .x-nav &gt; li &gt; a {
    padding-top: 30px !important;
}

.x-navbar.x-navbar-fixed-top .x-brand {
width: 300px;
margin-top: 15px !important;
}

@media (min-width: 768px) {
    .x-navbar:not(.x-navbar-fixed-top) {
        background-color: transparent;
        box-shadow: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        border: none;
    }
}

.x-navbar .desktop .x-nav &gt; li &gt; a:hover, 
.x-navbar .desktop .x-nav &gt; .x-active &gt; a, 
.x-navbar .desktop .x-nav &gt; .current-menu-item &gt; a {
    -moz-box-shadow:   none;
    -webkit-box-shadow: none;
    box-shadow:         none;
}

/*  Remove shadow recent posts */

.x-recent-posts a {
border: none !important;
box-shadow: none !important;
}
</code></pre>
<p>Javascript</p>
<pre><code>jQuery(function($){

$(window).scroll(function(){

if( $(this).scrollTop() == 0 ) {
$(&#039;.x-navbar-fixed-top&#039;).removeClass(&#039;x-navbar-fixed-top&#039;);
}

})

});

(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://paradigmum.nl/projecten/ktb/wp-content/uploads/2015/08/KTB-Koning-Logo.png&#039;);
   }else{
     $(&#039;.x-navbar .x-brand img&#039;).attr(&#039;src&#039;,&#039;http://paradigmum.nl/projecten/ktb/wp-content/uploads/2015/08/KTB-Koning-Logo-Witte-tekst.png&#039;);
   }
 });
})(jQuery);</code></pre>
<p>Is it possible to apply the changes to the menubar and the scrolling only on the home page? </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/transparent-header-only-when-on-top-of-page/#post-350865</guid>
					<title><![CDATA[Reply To: transparent header only when on top of page]]></title>
					<link>https://theme.co/archive/forums/topic/transparent-header-only-when-on-top-of-page/#post-350865</link>
					<pubDate>Wed, 05 Aug 2015 15:06:03 +0000</pubDate>
					<dc:creator>Zeshan</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Timmid,</p>
<p>This could technically be possible to change the offset value for the header to fix on the top with custom JS customization, but that would fall beyond the scope of support we can provide. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities. </p>
<p>Thanks for understanding.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/transparent-header-only-when-on-top-of-page/#post-350961</guid>
					<title><![CDATA[Reply To: transparent header only when on top of page]]></title>
					<link>https://theme.co/archive/forums/topic/transparent-header-only-when-on-top-of-page/#post-350961</link>
					<pubDate>Wed, 05 Aug 2015 16:43:01 +0000</pubDate>
					<dc:creator>Timmid</dc:creator>

					<description>
						<![CDATA[
						<p>Thx for the answer.</p>
<p>After some trial and error I&#8217;m almost there with what i want to achieve but with the provided code from above to have the menu transparent on top of the .masthead there is some space under the slider.</p>
<p>I think it is the menu background because if i set the height of the menu to 0 it disappears. But if i do that on other pages the website moves up behind the menu.</p>
<p>Can you help me remove that space?</p>
<p>Thx!</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

