Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1141691
    LNUredi
    Participant

    Hey there,

    A client of mine is using the X theme on version WP 4.5.3 with x version 4.3.4. The tabbed content on this page: http://respiratoryfirst.com/benefits/ uses tabs to display the different “benefits” content. When you click on a tabbed item, however, it tries to auto scroll you to the top of the page content it looks like, but it doesn’t work and it gets stuck. My assumption is that there’s some javascript running in the background to enable a “smooth scroll” or something like this–can we fix it or disable it?

    Thanks

    #1141790
    Thai
    Moderator

    Hi There,

    Please add the following code under Customizer > Custom > Global Javascript:

    jQuery(function($) {
    	$('.vc_tta.vc_general .vc_tta-tab>a').off('click touchend touchstart');
    });

    Hope it helps 🙂

    #1142232
    LNUredi
    Participant

    I eill give it a try!

    #1142545
    Prasant Rai
    Moderator

    Let us know how it goes.

    Thanks.

    #1145132
    LNUredi
    Participant

    Hi there!

    Unfortunately that update didn’t work. I’m also seeing the same strange behavior on my desktop.

    I’ve moved the broken stuff to this page: http://www.respiratoryfirst.com/benefits-2 because we need to get a solution that works better up on the live page, but if we can get it resolved, we’d like to use this layout feature in the future.

    Thanks!

    #1145230
    LNUredi
    Participant

    Update–this problem happens on any tabbed, accordian or otherwise dynamic content that I try and create as a layout 🙁

    #1145547
    Rue Nel
    Moderator

    Hello There,

    Thanks for the updates! X 4.6.1 is now available in automatic updates! This release contains fixes for several issues so be sure to check out the changelog. Please do update to the latest version. After doing the updates, always remember to clear all caches when updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

    Please let us know how it goes.

  • <script> jQuery(function($){ $("#no-reply-1141691 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>