Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 16h 14m 17s
Claim 50% off
Solved Templates

Offcanvas doesn't close for Anchor links [Helix 3]

Asked by Laurent Robin 2 years ago Last activity 2 years ago

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...?

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

Log in to reply.