This topic contains 5 replies, has 4 voices, and was last updated by  Ellen 1 month ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #13162

    Ronald92
    Participant

    Hi!

    I’ve already submitted a ticket, but I can’t find it back anywhere in the dashboards over here.
    I also don’t know if I get a message when you guys answer the ticket, so I’m trying it this way.

    I’m having issues with collapsing the mobile menu on a website of one of my clients.
    After clicking the hamburger dropdown and selecting a page the entire pages does go to the right page, but the menu doesn’t collapse.
    The user has to click the “X” by him/herself to exit the mobile menu which is terrible for usability.

    What can I do to fix this?

    Cheers,

    Ronald

    #13163

    Helen
    Participant

    Hello Ronald!

    Thank you for contacting us!
    As we see you already got reply from our team via ticket on this matter.
    Please, feel free to contact us in case you need further assistance.

    Best Regards, DFD Support Team.

    #13223

    ftazon
    Participant

    And what’s the fix Helen? I have the same problem with the menu

    #13224

    Ellen
    Keymaster

    Hello Ftazon!

    There is no option to close the menu automatically on click on the menu item.
    But you can try the following JS code:

    <script type="text/javascript">
     (function($) {
      $(window).load(function(){
       $('#sidr .mega-menu-item:not(.has-submenu)').find('.menu-link').on('click', function() {
        $.sidr('close');
       });
      });
     })(jQuery);
    </script>

    Add the code to Theme Options > General Options > Custom CSS/JS > Custom JS.

    Best regards,
    DFD Team

    #13225

    ftazon
    Participant

    Thank you so much, Ellen

    #13226

    Ellen
    Keymaster

    Always welcome!

    Best regards,
    DFD Team

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.