Hello guys,
I have a problem with the menu on mobile i have to click on the little arrows to activate it, instead of the word, I tried all the methods on this topic but without success! Pro : menu not clickable on mobile if it has a submenu
Is there a solution that works?
Hi @kcreative,
Thanks for reaching out. I’ve confirmed the issue you are seeing, and we will look into how it can be corrected officially in a future update. Meanwhile, try adding this to your custom Javascript.
document.querySelectorAll('#x-nav-wrap-mobile .menu-item-has-children > a[href="#"]').forEach(function(anchor) {
anchor.addEventListener('click', function(e) {
e.preventDefault()
var toggle = anchor.querySelector('[data-x-toggle]')
if (toggle) toggle.click()
});
});
Let us know how it goes!
Hi @alexander,
thank you for the quick response,i added the code and everything works as it should now!
Thanks
Glad that we could be of help.
Cheers!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.