Liquid, JavaScript, themes, sales channels
My dropdown menu works on all pages except the all important Product Pages....I clearly have a coding issue but cannot locate it...can anyone please assist.
Thank you.
Hello,
Edit theme.js or may be it's theme.liquid.js, you can find it under Assets
In bottom you can find this code
$('li.mobile-nav--has-dropdown').click(function(e){
e.preventDefault();
$(this).find('.mobile-nav--dropdown').show();
})
Just remove/comment it.
Still if issue will not resolved then you have to manually find the other JS conflict and fix theme.
In below screen-shot you will find the JS errors
Thanks
Thanks Guleria for your reply...I only put that exact code in as I found it was a solution on another thread. So it is still not working 😞 Strange that its only the product pages.
Could someone please offer assistance...I really need the menu to work.
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024