• Resolved ficosime

    (@ficosime)


    So if I stay on the same page, and click anchor link to lets say #contact, my mobile menu stays open. Is there any way to force menu to close after getting to scrolled part of website?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Fauzan Jegstudio

    (@fauzanjegstudio)

    Hello @ficosime,

    We apologize for the delay. Currently, you’ll need to use custom code to achieve this. For the code, you can add the PHP code from the link below to your functions.php file.

    Pastebin: https://pastebin.com/fDRs9vQK

    As you’ll be modifying a file, we recommend you back up your data first to ensure it can be restored in case of any unintended errors.

    We hope this helps.

    Thank You

    Plugin Author Fauzan Jegstudio

    (@fauzanjegstudio)

    Hello @ficosime,

    How are you? We haven’t heard from you in a while.

    Did the code we provided earlier work well for you? Does it meet your requirements?

    We’d like to inform you that, due to the lack of recent conversation on this topic, we will mark it as resolved.

    If you encounter any other issues, please feel free to create a new topic.

    Thank You

    Hi there

    I am facing this same issue and I tried adding the PHP code to the functions file but its not working.

    Please help

    Plugin Author Fauzan Jegstudio

    (@fauzanjegstudio)

    Hello @rhulanik13,

    We apologize for the delay in our response. Could you please provide us with a link to your website? We hope you will leave the PHP code in place so that we can investigate it.

    In the meantime, if you have any caching on your site, you can clear all of that cache. Additionally, if you have optimization systems in place on your site (such as JS optimization), you can temporarily disable them so that we can determine if there is an issue with the optimization feature and the code.

    We will await further updates from you.

    Thank You

    bodhi1970

    (@bodhi1970)

    I have the same issue. I had originally an Elementor menu widget in use which also didn’t close, so I tried to make it with the standard WP menu.

    Added this code from the link above to function.php but it does not work. So I switched back to the Elementor menu.

    EDIT: I see now this is for a specific third party plugin which I am not using. Can’t delete my comment here.

    • This reply was modified 11 months ago by bodhi1970.
    Plugin Author Fauzan Jegstudio

    (@fauzanjegstudio)

    Hello @bodhi1970,

    We’re glad to hear that the issue didn’t originate from our plugin! ??

    If you don’t mind, could you mention the plugin? This way, it might help other users who encounter similar issues.

    If you have any other concerns, feel free to create a new topic.

    Thank You

    bodhi1970

    (@bodhi1970)

    just the Elementor menu widget, without extra plugin. ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Close Mobile Menu after clicking Anchor link’ is closed to new replies.