Support » Plugin: Full Screen Menu for Elementor » Anchor links does not close menu

  • Resolved gabrieleferrari

    (@gabrieleferrari)


    Hi, when i click on a link in my menu (all anchor links) menu doesn’t close. i try to add cose suggested here
    https://wordpress.org/support/topic/how-to-make-menu-close-when-anchor-links-are-clicked/

    But without success, i have added this code to footer. What i should do now?

    <script type="text/javascript">
    const menucontent = document.querySelector(".content-type-menu");
    const nomenuhere = document.querySelector(".menu-toggle");
    
    menucontent.addEventListener("click", () => {nomenuhere.checked = false;});
    </script>
    • This topic was modified 1 year, 5 months ago by Jan Dembowski. Reason: Formatting

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Mate. you need download plugin for add custom code (in head/body), and put this code in place for footer code.

    i use plugin “Head & Footer Code”

    Hello,

    It’s possible to add this code into your plugin ?

    Please

    Best Regards

    southsounddev

    (@southsounddev)

    Hi Guys,

    Any update on this problem ?

    could it be added to the plugin ?

    thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Anchor links does not close menu’ is closed to new replies.