Close off canvas menu after clicking menu item - Forum | JoomShaper
Solved Helix Framework

Close off canvas menu after clicking menu item

Asked by Nicolò 1 year ago Last activity 1 year ago

Hi,
I've got a monopage site with anchors. In mobile view, when I use off-canvas menu to scroll the same page, it remains opened. Is it possible to close off-canvas menu on item click? Probably giving the same behaviour of burger icon to every item.
Thank you

Accepted answer

Marked as the solution
Nicolò Asked this

Hi,
it's not an issue, is the regular behaviour of off-canvas menu. It's perfect for multipage sites, but, in a monopage site, it causes difficulty in navigation.

I've solved adding this script before </body> in the tempale

https://ibb.co/gZs9xqPc

Thank you

Ziaul Kabir Staff

Great, You did it.

2 more replies

Ziaul Kabir Staff

Hello,

Thanks for reaching out to us. Could you please share temporary administrator access to your Joomla backend? You can provide the credentials securely in the hidden content section. Also, please take a full backup of your site before we make any changes.

Once I have access, I’ll investigate further and see what’s causing the issue. Let me know once you’ve shared the details!

Best Regards,

Nicolò Asked this

You can find all the credentials in the hidden content.

Sorry for the delay in the response.

Ziaul Kabir Staff

I see that your close offcanvas icon work fine.

Which issues you are facing now?

Best regards,

Log in to reply.