Okay
  Public Ticket #1538480
Menu on Mobile / click on menu item to close mobile menu
Closed

Comments

  • Simon started the conversation

    Hi Guys,

    Is there a way to make the mobile app menu more seamless to work, like once an option it closes again or swipe left to close it etc?

    The close x is a little clunky?

    Cheers guys!

  •  45
    BoldThemes replied

    Hi,

    Please try adding the following to Custom JS field of Appearance > Customize > General Settings panel

    jQuery(function() {
    jQuery('.btMenuVerticalOn .menu a').click(function() {
        jQuery('.btVerticalMenuTrigger').click()
    });
    });

    This should close the vertical menu once the link is clicked

    Regards, BoldThemes team

    If you like our products please consider leaving us a rating.
    A huge thank you from BoldThemes in advance!

  • Simon replied

    Thanks guys,

    Added the js but its not working yet, can you double check the code please?

  •  45
    BoldThemes replied

    Hi,

    We have modified the code to

    jQuery(function() {
     jQuery('.btMenuVertical  .menu a').click(function() {
      jQuery('.btVerticalMenuTrigger').click();
     });
    });

    It seems to be working properly now.

    Please verify

    Regards, BoldThemes team

    If you like our products please consider leaving us a rating.
    A huge thank you from BoldThemes in advance!

  • Simon replied

    Hi Guys,

    Thanks that's half working.  On mobile it appears to be working for half the menu options and then not for the other half.

    All under a one page site.

    www.qosphone.co.nz 

    The solution will be perfect if you can help me get it working the same on all menu (one page) options

    Thanks!

  •  45
    BoldThemes replied

    Hi,

    Please verify now. Thanks in advance.

    Regards, BoldThemes team

    If you like our products please consider leaving us a rating.
    A huge thank you from BoldThemes in advance!

  • Simon replied

    Awesome guys thanks! That's working perfect and looks really good thanks!