i'm currently developping a new site.
i'm using the Helix 3 template.
the Offcanvas doesn't close when the menu item is an Anchor link on the same page.
can you help please?
If i'm not wrong there is a JS to add somewhere...?
Solved
Templates
Offcanvas doesn't close for Anchor links [Helix 3]
Accepted answer
Marked as the solution
Laurent Robin Asked this
Thanks a bunch for the support! i did receive the solution via email and it works great!
add to the custom.js:
jQuery(function ($) {
$(".offcanvas-menu a").on("click", function () {
$(".off-canvas-menu-init").removeClass("offcanvas slide-top-menu full-screen-off-canvas full-screen-ftop new-look-off-canvas");
$(".offcanvas-overlay").remove();
});
});
Thanks very much to the support team!
Mehtaz Afsana Borsha Staff
You are always welcome.
1 more reply
Mehtaz Afsana Borsha Staff
Hi
Thanks for contacting us. You can follow this forum post below:
https://www.joomshaper.com/forum/question/27359
-Regards.
Log in to reply.