Offcanvas does Not Close Automatically - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Offcanvas does Not Close Automatically

P

pizzoferro

Helix Framework 3 years ago

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

0
6 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #69565

Hello 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

0
P
pizzoferro
Accepted Answer
3 years ago #69571

Thanks for the reply, in "hidden content" a Super Admin access Thanks

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #69584

Please share the administrator URL to investigate the issue.

0
P
pizzoferro
Accepted Answer
3 years ago #69590

sorry nauticadelena.it

I thought you could see from the video I had attached!

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #70070

Sorry, it is beyond our support. We do not provide customization support. Please find a way by yourself.

0
P
pizzoferro
Accepted Answer
3 years ago #70258

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!

0