Hello all,
we have created a OnePage with Helix Ultimate and PB.
offcanvas works so far, only it is not hidden after clicking on an anchor link.
In your archive we found the following:
// Offcanvas hack for one page website
var nav_collapse = $('.offcanvas-menu .menu');
nav_collapse.click('li a', function(event) {
event.preventDefault();
$('.offcanvas-init').removeClass('offcanvas-active');
});
We have inserted the code at the end of main.js .
Afterwards, offcanvas is closed, but the anchor link does not work anymore.
Do you have any advice,
thanks in advance and greetings
Stephan