betheme mobile menu anchor close
Hello,
I’m using BeTheme with the Header Builder (sidebar mobile menu) and I’m having an issue with anchor links on mobile.
In the mobile hamburger / sidebar menu, when I click a menu item that points to an anchor (for example #solutions, using data-hash), the page scrolls correctly to the section, but the mobile menu stays open instead of closing.
This only happens with anchor links. Normal page links work fine and close the menu as expected.
Could you please advise:
- if there is a recommended / built-in way to close the mobile menu after clicking an anchor link?
- or if there is a JS hook, filter, or option in BeTheme to handle this properly?
Thank you in advance for your help.
Best regards,
Comments
Hi,
Please always attach a link to your website so we can check it out. If the page is offline(localhost), then our help will be limited. You will have to contact us when the page is online. Also, please make sure that the page is not under maintenance before you provide us with the link.
Thanks