hello:
how can i make it to where when you click on the parent item in mobile menu, it collapses the children automatically. Then, if you want to click the parent one, clicking it second time takes you to that parent page?
Thanks!
hello:
how can i make it to where when you click on the parent item in mobile menu, it collapses the children automatically. Then, if you want to click the parent one, clicking it second time takes you to that parent page?
Thanks!
Hello Michael Koerner
Please use this JavaScript to Template Options -> Custom Code -> Custom JavaScript
jQuery(function($) {
$(document).on("click", ".menu-deeper", function(event) {
if (event.target.classList.contains('menu-toggler')) return;
if (event.target.children.length) {
event.preventDefault();
event.stopPropagation();
$(this)
.toggleClass("menu-parent-open")
.find(">.menu-child")
.slideToggle(400);
}
});
});
This will allow the parent menu items to open child items while being clicked on titles. The rest customization is on your hand. Sorry, we do not provide customization support.
Best regards
Hey there Ofi:
Thank you so much for that. It worked perfectly!
Take care,
You are welcome 😊
I have a humble request. It would be very kind of you if you can manage some moment to give us feedback onÂ
This will inspire us to improve.