<?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>how can I get the navbar dropdown to close after selecting a link? &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/how-can-i-get-the-navbar-dropdown-to-close-after-selecting-a-link/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/how-can-i-get-the-navbar-dropdown-to-close-after-selecting-a-link/feed/</link>
		<description></description>
		<lastBuildDate>Sat, 11 Oct 2025 23:16:47 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/how-can-i-get-the-navbar-dropdown-to-close-after-selecting-a-link/#post-71788</guid>
					<title><![CDATA[how can I get the navbar dropdown to close after selecting a link?]]></title>
					<link>https://theme.co/archive/forums/topic/how-can-i-get-the-navbar-dropdown-to-close-after-selecting-a-link/#post-71788</link>
					<pubDate>Tue, 22 Jul 2014 03:49:07 +0000</pubDate>
					<dc:creator>Christian L</dc:creator>

					<description>
						<![CDATA[
						<p>Right now in mobile view the navbar menu stays extended after selecting a link which make navigation confusing.  How can I make it retract after a selection.</p>
<p>Thanks,</p>
<p>Christian</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/how-can-i-get-the-navbar-dropdown-to-close-after-selecting-a-link/#post-71959</guid>
					<title><![CDATA[Reply To: how can I get the navbar dropdown to close after selecting a link?]]></title>
					<link>https://theme.co/archive/forums/topic/how-can-i-get-the-navbar-dropdown-to-close-after-selecting-a-link/#post-71959</link>
					<pubDate>Tue, 22 Jul 2014 14:27:24 +0000</pubDate>
					<dc:creator>Kosher K</dc:creator>

					<description>
						<![CDATA[
						<p>HI Christian,</p>
<p>Im not sure what you really mean.  Did you have one page navigation? </p>
<p>When a link is click, your site reloads and off course the nav bar will close.</p>
<p>Can you please provide URL to your site?</p>
<p>Thanks</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/how-can-i-get-the-navbar-dropdown-to-close-after-selecting-a-link/#post-72099</guid>
					<title><![CDATA[Reply To: how can I get the navbar dropdown to close after selecting a link?]]></title>
					<link>https://theme.co/archive/forums/topic/how-can-i-get-the-navbar-dropdown-to-close-after-selecting-a-link/#post-72099</link>
					<pubDate>Tue, 22 Jul 2014 19:14:50 +0000</pubDate>
					<dc:creator>Christian L</dc:creator>

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

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/how-can-i-get-the-navbar-dropdown-to-close-after-selecting-a-link/#post-72482</guid>
					<title><![CDATA[Reply To: how can I get the navbar dropdown to close after selecting a link?]]></title>
					<link>https://theme.co/archive/forums/topic/how-can-i-get-the-navbar-dropdown-to-close-after-selecting-a-link/#post-72482</link>
					<pubDate>Wed, 23 Jul 2014 16:29:26 +0000</pubDate>
					<dc:creator>Zeshan</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Christian,</p>
<p>Thank you for writing in!</p>
<p>You can achieve this by adding the following JS code in <strong>Customizer &gt; Custom &gt; JavaScript</strong>:</p>
<pre><code>jQuery(document).ready(function($) {
  $(&#039;.x-navbar .x-navbar-inner .x-nav-collapse .x-nav a&#039;).click(function(){
    $(&#039;.x-nav-collapse.in.collapse&#039;).removeClass(&#039;in&#039;).css();
  });
});
</code></pre>
<p>Hope this helps. 🙂</p>
<p>Thank you.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/how-can-i-get-the-navbar-dropdown-to-close-after-selecting-a-link/#post-72599</guid>
					<title><![CDATA[Reply To: how can I get the navbar dropdown to close after selecting a link?]]></title>
					<link>https://theme.co/archive/forums/topic/how-can-i-get-the-navbar-dropdown-to-close-after-selecting-a-link/#post-72599</link>
					<pubDate>Wed, 23 Jul 2014 19:38:33 +0000</pubDate>
					<dc:creator>Christian L</dc:creator>

					<description>
						<![CDATA[
						<p>I entered this in customizer and no effect.   Do I have to activate it somehow?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/how-can-i-get-the-navbar-dropdown-to-close-after-selecting-a-link/#post-72689</guid>
					<title><![CDATA[Reply To: how can I get the navbar dropdown to close after selecting a link?]]></title>
					<link>https://theme.co/archive/forums/topic/how-can-i-get-the-navbar-dropdown-to-close-after-selecting-a-link/#post-72689</link>
					<pubDate>Wed, 23 Jul 2014 22:24:28 +0000</pubDate>
					<dc:creator>Christian L</dc:creator>

					<description>
						<![CDATA[
						<p>this also seems to have sometimes disabled my static nav button in mobile view without causing automatic closing.  🙁</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/how-can-i-get-the-navbar-dropdown-to-close-after-selecting-a-link/#post-72906</guid>
					<title><![CDATA[Reply To: how can I get the navbar dropdown to close after selecting a link?]]></title>
					<link>https://theme.co/archive/forums/topic/how-can-i-get-the-navbar-dropdown-to-close-after-selecting-a-link/#post-72906</link>
					<pubDate>Thu, 24 Jul 2014 08:32:32 +0000</pubDate>
					<dc:creator>Christian</dc:creator>

					<description>
						<![CDATA[
						<p>Hey Christian,</p>
<p>Please try</p>
<pre><code>jQuery(document).ready(function(jQuery) {
  jQuery(&#039;.x-navbar .x-navbar-inner .x-nav-collapse .x-nav a&#039;).click(function(){
    jQuery(&#039;.x-nav-collapse.in.collapse&#039;).removeClass(&#039;in&#039;).css();
  });
});</code></pre>
<p>Thanks.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/how-can-i-get-the-navbar-dropdown-to-close-after-selecting-a-link/#post-73158</guid>
					<title><![CDATA[Reply To: how can I get the navbar dropdown to close after selecting a link?]]></title>
					<link>https://theme.co/archive/forums/topic/how-can-i-get-the-navbar-dropdown-to-close-after-selecting-a-link/#post-73158</link>
					<pubDate>Thu, 24 Jul 2014 19:34:03 +0000</pubDate>
					<dc:creator>Christian L</dc:creator>

					<description>
						<![CDATA[
						<p>Hi, I tried that as well to seemingly no effect.  I am supposed to put in the customizer, right?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/how-can-i-get-the-navbar-dropdown-to-close-after-selecting-a-link/#post-73160</guid>
					<title><![CDATA[Reply To: how can I get the navbar dropdown to close after selecting a link?]]></title>
					<link>https://theme.co/archive/forums/topic/how-can-i-get-the-navbar-dropdown-to-close-after-selecting-a-link/#post-73160</link>
					<pubDate>Thu, 24 Jul 2014 19:35:58 +0000</pubDate>
					<dc:creator>Christian L</dc:creator>

					<description>
						<![CDATA[
						<p>i am on a godaddy server, could that be a problem?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/how-can-i-get-the-navbar-dropdown-to-close-after-selecting-a-link/#post-73547</guid>
					<title><![CDATA[Reply To: how can I get the navbar dropdown to close after selecting a link?]]></title>
					<link>https://theme.co/archive/forums/topic/how-can-i-get-the-navbar-dropdown-to-close-after-selecting-a-link/#post-73547</link>
					<pubDate>Fri, 25 Jul 2014 20:20:10 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Christian,</p>
<p>You have two problem, you&#8217;re using one page navigation with mix of relative url and absolute url. </p>
<p>Example are #Reservations and <a href="http://fubarla.com/x/portfolio/" rel="nofollow">http://fubarla.com/x/portfolio/</a></p>
<p>When user navigate to your portfolio, they can&#8217;t go back to #Reservations because it&#8217;s relative to current url. Thus making relative url to  <a href="http://fubarla.com/x/portfolio/#Reservations" rel="nofollow">http://fubarla.com/x/portfolio/#Reservations</a> which is not valid.</p>
<p>If you intend to use this setup, then this will help you <a href="http://theme.co/x/member/forums/topic/nav-bar-not-fully-working-on-1-page-scrolling/#post-45754" rel="nofollow">http://theme.co/x/member/forums/topic/nav-bar-not-fully-working-on-1-page-scrolling/#post-45754</a> (<em>Note that using this will require you to define your menu url as absolute, eg. <a href="http://fubarla.com/x/#Reservations" rel="nofollow">http://fubarla.com/x/#Reservations</a> and not just #Reservations</em>)</p>
<p>Then use this to toggle your mobile menu,  :</p>
<pre><code>jQuery(document).ready(function($) {
  $(&#039;.x-navbar .x-navbar-inner .x-nav-collapse .x-nav a&#039;).click(function(){
  $(&#039;.x-btn-navbar&#039;).click(); 
  });
});</code></pre>
<p>Cheers!</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

