Forum Replies Created

Viewing 1 replies (of 1 total)
  • 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

Viewing 1 replies (of 1 total)