Hi support team,
I’m having some difficulties to create a Navigation Collapsed on one-page navigation.
I’ve added the following code to my global js, but it doesn’t seem to work, only it works after I hit run:
jQuery(function($) {
$(’.x-menu-collapsed .x-anchor’).on( “click touchstart”, function() {
$(’.x-off-canvas-close’).click();
});
});
Is there any way that it could automatically run after the page load?
Here is my website
Thank you so much