-
AuthorPosts
-
September 14, 2015 at 11:54 pm #388873
Hi, everyone.
I’m making my first demo-website using WordPress 4.3 with X-theme and Visual Composer.After I added Tour or Tabs in Content Bands and click sections, my page automatically scrolls down until the end of the content in that section and tried to hold it’s position on that place.
I search for troubleshooting to fix this issue, but I couldn’t.. so, I’m asking help here.
This is my web page link, which I am having trouble with:
link here
Wish I can get help from anyone, so I can complete my first website.
Thank you and have a great day.
Best.
September 15, 2015 at 1:31 am #388940Hi there,
Thanks for writing in! You can add this under Custom > JavaScrip in the Customizer.
jQuery(function($){ $('.vc_tta-tabs-list a').on('click', function(){ $('html, body').stop(); }); });
Hope this helps.
Cheers!
September 15, 2015 at 2:03 am #388971Thanks for your reply!!!
Hmm.. but my Sections/Tabs are still sliding down when I click, even I added your JavaScrip in my Customize>Custom>JavaScrip.
Is there other way I can add this JavaScript?
Thank you.
Best.
September 15, 2015 at 2:48 am #389002Hi,
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:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
September 15, 2015 at 3:11 am #389021This reply has been marked as private.September 15, 2015 at 3:36 am #389034Hi there,
Please try this code instead:
jQuery( function($) { $(document).on('click', 'li.vc_tta-tab a', function( e ){ $('html, body').stop(); }); });
Hope it helps.
September 15, 2015 at 3:46 am #389043Hi there.
Sorry. It still shows the same problem.
Scrolling down-side after clicking any Tabs, Sections, or Accordions.September 15, 2015 at 4:33 am #389083Hi,
I was able to fix it by changing the code to this.
jQuery( function($) { $(document).on('click', 'li.vc_tta-tab a', function( e ){ $('html, body').stop(); }); $(document).on('click', 'li', function( e ){ $('html, body').stop(); }); $(document).on('click', '.vc_tta-panel-title', function( e ){ $('html, body').stop(); }); });
Kindly check on your end. Thanks
September 15, 2015 at 4:44 am #389091Wow!! Wow!! It works!!!
Thank you very much!!!
Now I can focus moving on next steps!
Thank you! 🙂September 15, 2015 at 5:30 am #389136You’re most welcome! 🙂
-
AuthorPosts