<?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>Page scrolls up and down when clicking on tab nav items and accordion items. &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/page-scrolls-up-and-down-when-clicking-on-tab-nav-items-and-accordian-items/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/page-scrolls-up-and-down-when-clicking-on-tab-nav-items-and-accordian-items/feed/</link>
		<description></description>
		<lastBuildDate>Mon, 13 Oct 2025 22:52:43 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/page-scrolls-up-and-down-when-clicking-on-tab-nav-items-and-accordian-items/#post-181627</guid>
					<title><![CDATA[Page scrolls up and down when clicking on tab nav items and accordion items.]]></title>
					<link>https://theme.co/archive/forums/topic/page-scrolls-up-and-down-when-clicking-on-tab-nav-items-and-accordian-items/#post-181627</link>
					<pubDate>Tue, 13 Jan 2015 01:52:10 +0000</pubDate>
					<dc:creator>John S</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,</p>
<p>I added both tab navs and accordions to different areas on a webpage to try them out for content options.</p>
<p>I set everything up properly.</p>
<p>When I test them as a user on the actual website, the page jumps or auto scrolls up or down when the items are clicked on.<br />
This does not seem like natural behavior as it will scroll the information in the tabs and accordion out of sight.</p>
<p>Needless to say, I would like the title area of the accordion to remain still and just the contents within the accordion to drop down. No movement (other than the drop down and change of tab item) when the user clicks on a tab nav or accordion. </p>
<p>Any ideas?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/page-scrolls-up-and-down-when-clicking-on-tab-nav-items-and-accordian-items/#post-181952</guid>
					<title><![CDATA[Reply To: Page scrolls up and down when clicking on tab nav items and accordion items.]]></title>
					<link>https://theme.co/archive/forums/topic/page-scrolls-up-and-down-when-clicking-on-tab-nav-items-and-accordian-items/#post-181952</link>
					<pubDate>Tue, 13 Jan 2015 13:25:41 +0000</pubDate>
					<dc:creator>Christopher</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>Please add the following code under<strong> Customize -&gt; Custom -&gt; Java Script</strong> :</p>
<pre><code>jQuery(document).ready(function($) {
   $(&#039;.x-accordion-toggle&#039;).click(function() {
      var $adminbarHeight = $(&#039;#wpadminbar&#039;).outerHeight();
      var $navbarHeight   = $(&#039;.x-navbar&#039;).outerHeight();
      var $this = $(this);

      setTimeout(function() {
         $(&#039;html, body&#039;).animate({ 
            scrollTop: $this.offset().top - $adminbarHeight - $navbarHeight + 1
         }, 400)
      }, 300)
   });
});</code></pre>
<p>To fix tabs add this as well :</p>
<pre><code>jQuery(function($){

$(&#039;.x-nav-tabs-item a&#039;).on(&#039;click&#039;, function(){

$(&#039;html,body&#039;).stop().animate({
      scrollTop: $( $(this).attr(&#039;href&#039;) ).offset().top - $(&#039;.x-navbar&#039;).height()
    },700 ,&#039;swing&#039;);

});

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

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/page-scrolls-up-and-down-when-clicking-on-tab-nav-items-and-accordian-items/#post-182305</guid>
					<title><![CDATA[Reply To: Page scrolls up and down when clicking on tab nav items and accordion items.]]></title>
					<link>https://theme.co/archive/forums/topic/page-scrolls-up-and-down-when-clicking-on-tab-nav-items-and-accordian-items/#post-182305</link>
					<pubDate>Tue, 13 Jan 2015 21:54:23 +0000</pubDate>
					<dc:creator>NCPMR</dc:creator>

					<description>
						<![CDATA[
						<p>Hello. Sorry to bear some bad news, I just pasted these in and I&#8217;m still having issues 🙁</p>
<p><a href="https://drive.google.com/file/d/0B_RjEO4O9yNMZXhUaXF6QVU4YzQ/view?usp=sharing" rel="nofollow">https://drive.google.com/file/d/0B_RjEO4O9yNMZXhUaXF6QVU4YzQ/view?usp=sharing</a> &#8211; I&#8217;ll try to keep this up here for a while.</p>
<p><a href="http://alvein.com/expect/" rel="nofollow">http://alvein.com/expect/</a></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/page-scrolls-up-and-down-when-clicking-on-tab-nav-items-and-accordian-items/#post-182735</guid>
					<title><![CDATA[Reply To: Page scrolls up and down when clicking on tab nav items and accordion items.]]></title>
					<link>https://theme.co/archive/forums/topic/page-scrolls-up-and-down-when-clicking-on-tab-nav-items-and-accordian-items/#post-182735</link>
					<pubDate>Wed, 14 Jan 2015 13:01:05 +0000</pubDate>
					<dc:creator>Christopher</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:</p>
<p>&#8211; Link to your site<br />
&#8211; WordPress Admin username / password<br />
&#8211; FTP credentials</p>
<p><strong>Don&#8217;t forget to select Set as private reply. This ensures your information is only visible to our staff. </strong></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/page-scrolls-up-and-down-when-clicking-on-tab-nav-items-and-accordian-items/#post-182757</guid>
					<title><![CDATA[Reply To: Page scrolls up and down when clicking on tab nav items and accordion items.]]></title>
					<link>https://theme.co/archive/forums/topic/page-scrolls-up-and-down-when-clicking-on-tab-nav-items-and-accordian-items/#post-182757</link>
					<pubDate>Wed, 14 Jan 2015 13:25:38 +0000</pubDate>
					<dc:creator>microarts</dc:creator>

					<description>
						<![CDATA[
						<p>Hi, same thing happens to me with the tab nav. if you click on the tabs on the page below, it just keeps scrolling down about 50px or so</p>
<p><a href="http://development.bynaturepetfoods.com/by-nature-dog-food/grain-free-dry-dog/ocean-whitefish-green-peas/" rel="nofollow">http://development.bynaturepetfoods.com/by-nature-dog-food/grain-free-dry-dog/ocean-whitefish-green-peas/</a></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/page-scrolls-up-and-down-when-clicking-on-tab-nav-items-and-accordian-items/#post-182962</guid>
					<title><![CDATA[Reply To: Page scrolls up and down when clicking on tab nav items and accordion items.]]></title>
					<link>https://theme.co/archive/forums/topic/page-scrolls-up-and-down-when-clicking-on-tab-nav-items-and-accordian-items/#post-182962</link>
					<pubDate>Wed, 14 Jan 2015 17:33:12 +0000</pubDate>
					<dc:creator>NCPMR</dc:creator>

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

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/page-scrolls-up-and-down-when-clicking-on-tab-nav-items-and-accordian-items/#post-183148</guid>
					<title><![CDATA[Reply To: Page scrolls up and down when clicking on tab nav items and accordion items.]]></title>
					<link>https://theme.co/archive/forums/topic/page-scrolls-up-and-down-when-clicking-on-tab-nav-items-and-accordian-items/#post-183148</link>
					<pubDate>Wed, 14 Jan 2015 21:33:17 +0000</pubDate>
					<dc:creator>microarts</dc:creator>

					<description>
						<![CDATA[
						<p>any update on this?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/page-scrolls-up-and-down-when-clicking-on-tab-nav-items-and-accordian-items/#post-183152</guid>
					<title><![CDATA[Reply To: Page scrolls up and down when clicking on tab nav items and accordion items.]]></title>
					<link>https://theme.co/archive/forums/topic/page-scrolls-up-and-down-when-clicking-on-tab-nav-items-and-accordian-items/#post-183152</link>
					<pubDate>Wed, 14 Jan 2015 21:39:30 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi NCPMR,</p>
<p>I tried this code and it makes the the scrolling stop.</p>
<pre><code>jQuery(document).ready(function($) {
   $(&#039;.x-accordion-toggle, .x-nav-tabs-item a&#039;).click(function(e) {
      $(&#039;html, body&#039;).stop();
   });
});</code></pre>
<p>Or do you wish the scrolling still enabled?</p>
<p><a href="https://theme.co/archive/users/microarts/" class="bbp-user-mention bbp-user-id-20408"><br />
@Microarts</a>, could you try this code too?</p>
<p>Thanks guys!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/page-scrolls-up-and-down-when-clicking-on-tab-nav-items-and-accordian-items/#post-183156</guid>
					<title><![CDATA[Reply To: Page scrolls up and down when clicking on tab nav items and accordion items.]]></title>
					<link>https://theme.co/archive/forums/topic/page-scrolls-up-and-down-when-clicking-on-tab-nav-items-and-accordian-items/#post-183156</link>
					<pubDate>Wed, 14 Jan 2015 21:41:14 +0000</pubDate>
					<dc:creator>microarts</dc:creator>

					<description>
						<![CDATA[
						<p>yes, that works for me! thanks 🙂</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/page-scrolls-up-and-down-when-clicking-on-tab-nav-items-and-accordian-items/#post-183500</guid>
					<title><![CDATA[Reply To: Page scrolls up and down when clicking on tab nav items and accordion items.]]></title>
					<link>https://theme.co/archive/forums/topic/page-scrolls-up-and-down-when-clicking-on-tab-nav-items-and-accordian-items/#post-183500</link>
					<pubDate>Thu, 15 Jan 2015 09:43:07 +0000</pubDate>
					<dc:creator>Rubin</dc:creator>

					<description>
						<![CDATA[
						<p>You&#8217;re welcome!</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

