[NSFW] Mobile Menu No longer working

Hi, @stanleymog

It works when I’m on my laptop and go to ‘Appearance’ ‘Themes’ and selecting the mobile option, but I have tried it on 2 different phones and 2 different browsers with no luck.

The trick is that when you are on desktop, the url of your site is just your url, when you are on mobile, a plugin automatically adds ?amp=1 that forces your site to display an optimized version of your webpage.

You can add ?amp=1 on desktop as well and you can replicate the problem.

I have deactivated all my plugins but this has made no difference.

Can you identify in your plugins one that handles amp / optimization ? It may be a theme feature / theme extension.

For some reason, your amp plugin interacts with the script that handles that menu. No Console errors are displayed, so I can’t tell you exactly what happens.

Identify the plugin/theme feature and then ask the developer about that.

Hope this helps,
Kind regards.

Thank you Vlad T, I must have missed AMP out! I disabled it and the menu works, so I reconfigured it using Reader Template Mode and activated it, it now works fine.

Thanks again.

Happy to help! Glad it works!



Source link