Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1221080
    Claire L
    Participant

    Hi guys,

    I had a javascript fix for this previously which is no longer working. The tabs on page ie, http://www.hydroproduce.com.au/our-recipes/lemongrass-chicken-snowpea-stir-fry/
    are not expanding on click on mobile phones.

    hope you can help.

    Cheers,
    claire

    #1221146
    Nabeel A
    Moderator

    Hi there,

    Thanks for writing in! To fix the issue please add the following jQuery script in your Customizer via Appearance > Customize > Custom > Edit Global Javascript

    jQuery( function($) {
    
    $('.vc_tta-tab a').on('click', function( e ){
    
    setTimeout( function() { 
    $('html, body').stop().stop();
    }, 100 );
    
    });
    
    $(document).ready(function() {
        $('.vc_tta.vc_general .vc_tta-panel-title > a, .vc_tta.vc_general .vc_tta-panel-title > a, .vc_tta-tab a').off('click touchstart touchend');
    });
    });

    Don’t forget to clear your browser’s cache after adding the code. Let us know how this goes!

    #1221403
    Claire L
    Participant

    Hi guys,
    Thanks for coming back to me.
    It’s still not working. It’s got me stumped? – this is what I used to have in place for it to work.
    Is great on desktop but no joy on mobiles.
    Can I send through logins for you to have a closer look?

    cheers,

    Claire

    #1221404
    Claire L
    Participant

    Don’t worry – figured it out : )

    #1221638
    Nico
    Moderator

    Happy to hear that.

    Feel free to ask us again.

    Thanks.

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