Reply To: Mobile Manu Scroll

#10033716
Support
Keymaster

Hello,

Yes unfortunately this is very weird issue.

I entered in your website links index-test.html and feature-navigations-hamburguer-overlay.html and saw that you don’t added the JS code I mentioned in my last reply. Did you tried the JS code below ?

$('.hamburguer-btn').on('click', function(){
    setTimeout(function(){
        $('.header-nav-main a[href="#collapse1-1"]').trigger('click');
        $('.side-header-scrollable').trigger('click');
        $('.scrollable-content').trigger('click');
        $('.header-nav').trigger('click');

        setTimeout(function(){
            $('.header-nav-main a[href="#collapse1-1"]').trigger('click');
        }, 500);
    }, 1000);
});

Regarding “Is there also a way to stop the main page on the background from scrolling on desktop an mobile”, you mean when the sidebar/menu stay opened ? If this is the case you need the code below in (css/custom.css):

html.side-header-hide, html.side-header-hide body {
  overflow: hidden;
}

Please try that and let us know if you need further assistance.

Kind Regards,

Rodrigo.