• Husam

    (@taweianet)


    Hi,
    we have onepage website with menu Anchor

    When we visit the website from mobile and click on any menu tab ( for example : about us ) the side menu canvas doesn’t close, its just take me to the Anchor section in the background and side menu canvas still open.
    do you have any suggestion or add_filter code or css code to hide it after clicking

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Husam

    (@taweianet)

    Any update ?!!! no support for this theme ?!!!!

    Hi @taweianet,

    We are aware of this and we will fix this ASAP. We are sorry for the inconvenience you may have because of this.

    In the meantime, please add the following Javascript code to your site

    <script>
    jQuery( 'li.menu-item a' ).on( 'click', function() {
    	document.getElementById( 'ast-mobile-popup' ).classList.remove( 'active', 'show' );
    	document.getElementsByTagName('body')[0].classList.remove( 'ast-popup-nav-open', 'ast-main-header-nav-open' );
    	jQuery('.main-header-menu-toggle')[0].style.display = 'flex';
    	jQuery('.main-header-menu-toggle')[1].style.display = 'flex';
    } );
    </script>

    I hope it will help.

    Kind regards,
    Herman ??

    P.S. We recommend reaching out to us through our Support Portal for faster help and resolution as mentioned here.

    Thread Starter Husam

    (@taweianet)

    Dear , this code didn’t work, would you double check it pls. ?!

    Thread Starter Husam

    (@taweianet)

    Dear?gentlemen, please would you let me know when or who will fix this little issue if you don’t do that ?!
    we need the off-canvas inner be closed after clicking?a menu item, your code didn’t?work.
    URGENT PLZ?

    Hi @taweianet,

    We are sorry for the delay.

    I am not sure why the code didn’t work for you as it’s working for the other users who reported the same issue through our Support Portal. How did you add the code to your site?

    Apart from that, if everything runs as expected, the patch to fix this issue will be included in the next update which will be released soon.

    Kind regards,
    Herman ??

    P.S. We recommend reaching out to us through our Support Portal for faster help and resolution as mentioned here.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Hide/close mobile side menu after clicking’ is closed to new replies.