• Resolved ADP

    (@diepraxis)


    Hi,

    I have the following problem. I use the fullscreen menu on an onepage and link the menu items with ID (#idname).
    The opening of the menu works fine but the menu does not close when click?!?

    Is it possible that after clicking on a menu item the menu closes – as well as on the close button (toggler)

    what is the solution?

    Thank you
    Regards

    • This topic was modified 5 years, 4 months ago by ADP.
Viewing 6 replies - 1 through 6 (of 6 total)
  • I have the exact same problem, did you perhaps find a solution?

    Thread Starter ADP

    (@diepraxis)

    no ??

    I have the exact same problem, anyone found a solution yet? ??

    If you need this only on a specified page, try this:

    1. Add a custom HTML widget
    2. Put the code there:

    <script type="text/javascript">
    const menucontent = document.querySelector(".content-type-menu");
    const nomenuhere = document.querySelector(".menu-toggle");
    
    menucontent.addEventListener("click", () => {nomenuhere.checked = false;});
    </script>

    If you need this on all of your pages, edit footer.php
    1. Go to WP Console -> Appearance -> Theme Editor;
    2. Find footer.php;
    3. Before </body> paste the code mentioned above

    Hello,

    Does not work on a mobilephone.
    There is a solution?

    Thank you.

    levskipg

    (@levskipg)

    OMG Thanks @titanov !!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Menu does not close?’ is closed to new replies.