Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

how to close automatically the off canvas menu after clicking (anchor link)

Featured Lock Resolved Issue
hello i'm using the stellar template on the url https://www . comunichiamoweb . it and i see that the offcanvas menu does not close automatically after clicking on the link, is that because the links are achor links? how the off canvas menu view can disappear after clicking on a menu-item on it?

8 Answers

ayko

More than a month ago #Permalink
Hey,

it's working with that solution: https://www.joomshaper.com/forums/one-page-website-helix-ultimate#reply-164955

I added it into helix ultimate template setup - custom javascript section.

best,
Ayko

Gabriele Salerno

More than a month ago #Permalink
hello i'm using the stellar template on the url https://www . comunichiamoweb . it and i see that the offcanvas menu does not close automatically after clicking on the link, is that because the links are achor links? how the off canvas menu view can disappear after clicking on a menu-item on it?


i mean on the mobile view from tablets or smartphones

Gabriele Salerno

More than a month ago #Permalink
basically the off canvas menu does not disappear because the page is not properly refreshed but the page scrolls down to the anchor point, i need to make it disappear after clicking on a menu voice? is this possible?

Caterina

More than a month ago #Permalink
Same problem. :)

Gabriele Salerno

More than a month ago #Permalink
is there any solution for this?

Gabriele Salerno

More than a month ago #Permalink
i'm basically using the smooth scroll for vertical pages that are using anchors in the menu', so is a problem for every website for the mobile view, how can we fix this?

Gabriele Salerno

More than a month ago #Permalink
GREAT

and i used that code into a custom.js file using these instructions to have this working in the whole website

https://www.joomshaper.com/forums/custom-js#reply-50797https://www.joomshaper.com/forums/custom-js#reply-50797


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 111
Toufiq

Toufiq

Total Accepted Answers: 105
Mehtaz Afsana Borsha

Mehtaz Afsana Borsha

Total Accepted Answers: 61
Ofi Khan

Ofi Khan

Total Accepted Answers: 55
Rashida Rahman

Rashida Rahman

Total Accepted Answers: 34

121

Templates

314132

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us