Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #180812
    Greg T
    Participant

    Hi, I was wondering if you had some code to fix the combination of these plugin/codes?

    When Smooth Scroll is active, opening / closing accordion x-shortcode causes the pages to scroll up and down and looks quite… buggy. Is there a way to stop the movement?

    Thank you
    Greg

    #180865
    Alan
    Participant

    Hi Greg,

    I am not official support, but I suspect that you are experiencing known bug that I experienced. The solution is further back in the forum, but to save you effort, here is the code to be placed in the customizer under Javascript:

    jQuery( function($) {

    $(document).on(‘click’, ‘.x-accordion-toggle, .x-nav-tabs .x-nav-tabs-item a’, function( e ){
    $(‘html, body’).stop();
    });

    });

    Hope this works for you.

    #180883
    Greg T
    Participant

    Ah thank you! I did do a search but must have missed it, much appreciated :).

    #181058
    Christian
    Moderator

    Thanks for chiming in Mark. Glad it helped Greg.

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