Menu Closes When Clicked
I see, the problem has nothing to do with the menu accordeon
you have an overlay when opening the mobile menu (off-canvas) that makes it close when you can click ANYWHERE in the page, you can test yourself
The event registered is
you have an overlay when opening the mobile menu (off-canvas) that makes it close when you can click ANYWHERE in the page, you can test yourself
The event registered is
this makes it close on clickfunction(event) {
event.preventDefault();
$('.off-canvas-menu-init').removeClass('offcanvas');
}
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
Thank you very much for identifying...any chance you know how to remedy this?
by flebotomy
Please Log in or Create an account to join the conversation.
I tried removing the .JS, but that stopped the menu from opening. I then tried to hide the overlay via CSS call - no dice.
Any suggestions would be greatly appreciated!!!
Thank you very much.
Any suggestions would be greatly appreciated!!!
Thank you very much.
by flebotomy
Please Log in or Create an account to join the conversation.
I also noticed that this .JS is installed on another site I am working on and this does not affect the menu - could it be something else?
by flebotomy
Please Log in or Create an account to join the conversation.
sorry but this is totally out of my scope, you must manage that in your template or off-canvas menu ...
it seems that there are also other JS events launched in the off-canvas menu
www.chateaurestaurant.com/templates/flex/js/main.js
it seems that there are also other JS events launched in the off-canvas menu
fromfunction() {
$('.off-canvas-menu-init').removeClass('offcanvas slide-top-menu full-screen-off-canvas full-screen-off-canvas-ftop new-look-off-canvas');
}
www.chateaurestaurant.com/templates/flex/js/main.js
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
Time to create page: 0.702 seconds