Mobile menu suddenly stopped working on mobile. I have the menu collapsing into a hamburger menu icon for mobile, but tapping on it does nothing on my phone and other people's phones. Yet it works when clicking on it on mobile simulators in Google Chrome DevTools and when shrinking the normal browser window.
CodePudding user response:
I am guessing you have a problem with your JavaScript being merged into a single file. I see you are delivering your HTML, CSS and JavaScript optimized. It is likely to be an issue with a single CSS or JavaScript file that conflicts with all the rearranging that the automatic optimization processes perform.
Try disabling JavaScript (or CSS) minification and combining in your LiteSpeed Cache for WordPress plugin, or any other plugin you use for HTML, CSS and JavaScript optimization. Than purge the whole cache and check if the menu works.
CodePudding user response:
Thank you. I switched off the minify CSS and JS options and cleared the cache.
It works. I will now slowly swith on every option and see where the problem is... thank you so much.
Sincerely, Teja