Support Center
Visit Demo
License manager
Buy @ envato
toggle menu
Categories
Discussions
Activity
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Activity
Sign In
·
Register
×
Home
›
Theme support
›
Menu / Mega menu
Mobile Menu. Close on Click
RemyndSystems
December 2018
in
Menu / Mega menu
Hello,
its possible to close automatically the menu on click on the mobile menu?
The customer want it automatically closing after click on the menu.
Comments
Pablo
December 2018
Hi,
Unfortunately BeTheme doesn't have this option.
You have to create Custom JS script to make it happen.
Thanks
RemyndSystems
December 2018
Solved with this custom code:
function toggleMenu() {
var menuBox = document.getElementById('Side_slide');
if(menuBox.style.display == "block") { // if is menuBox displayed, hide it
menuBox.style.display = "none";
}
else { // if is menuBox hidden, display it
menuBox.style.display = "block";
}
}
Pablo
December 2018
I'm glad that you solved it!
Is there anything else I can help you with?
Thanks
Sign In
or
Register
to comment.
Comments