Tagged: x
-
AuthorPosts
-
December 22, 2016 at 6:10 am #1301610
MoonworksParticipantI’m using a tabs area with Visual Composer and am having a problem clicking on one of the tabs.
For some reason, the screen scrolls when clicking on a tab and when scrolling back up using the mouse wheel, it isn’t smooth, but almost as if it is fighting against scrolling back to view the tabs at the top.
How can I arrange it so that clicking on a tab just changes the tab that is shown, with no scrolling?
This is an example of what is happening:
http://authorpa.com/product/book-image-002December 22, 2016 at 8:59 am #1301754
ChristianModeratorHey there,
Please update X, Cornerstone and VC and check if the issue persists.
Thanks.
December 22, 2016 at 6:01 pm #1302151
MoonworksParticipantThanks for the reply.
I’ve updated everything, but that is still happening.
December 22, 2016 at 11:50 pm #1302487
Paul RModeratorHi,
To fix it, you can add this under Custom > Edit Global Javascript in the Customizer.
jQuery( function($) { $(document).on('click', 'li.vc_tta-tab a,li.vc_tta-tab,.vc_tta-panel-title', function(){ $('html, body').stop(); }); });Hope that helps.
December 23, 2016 at 4:00 am #1302607
MoonworksParticipantThank you. That’s fixed the problem 🙂
December 23, 2016 at 4:52 am #1302641
Paul RModeratorYou’re welcome! 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1301610 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
