Good morning,
in this onepage website I have only one page and the links are of the type: #contact, etc.
How can I make the offcanvas panel close automatically?
website: nauticadelena.it
Video Recording: http://e.pc.cd/QggotalK
offcanvas does not close automatically
Accepted answer
Marked as the solutionHello pizzoferro
Apology for the inconvenience. Please share your administrator access here to check the issue. Use the Hidden Content box to share the credentials. Make sure that you have a full site backup with you before sharing.
Best regards
5 more replies
Thanks for the reply, in "hidden content" a Super Admin access
Thanks
Please share the administrator URL to investigate the issue.
sorry
nauticadelena.it
I thought you could see from the video I had attached!
Sorry, it is beyond our support. We do not provide customization support. Please find a way by yourself.
I really don't understand why !!
If the links are from internal pages, it works, if the links are anchors it doesn't work.
However I found by myself (in my first search in the forum I had not found!)
At this link: https://archive.joomshaper.com/forums/one-page-website-helix-ultimate#reply-164955
And this is the code to insert:
jQuery(function($) {
$('.close-offcanvas, .offcanvas-overlay, .offcanvas-inner ul > li:not(.no-scroll) > a').on('click', function() {
$('body').removeClass('offcanvas-active');
});
});
Your answer is truly undeniable!