I am having problems displaying the mobile menu on single posts on https://kongensoe.dk – the mobile menu works on the front page and on category pages, but not on the single posts, even though it is the same header.
It seems to work when watching it from the backend and when displaying the mobile version in a regular web browser on the desktop, but on my actual phone it is not working, and I get stuck on the post and can only return to the front page.
How can I solve this?
Best,
Thomas
Hello,
Please disable the amp plugin because this is deprecated https://developer.bigcommerce.com/docs/storefront/wordpress/platform-integration/enabling-amp , so we no longer recommend it and check after the menu.
Thank you!
Oh dear… just realised, that if I go all the way to the bottom of the page on my phone, I get an option to disable the mobile view of the page. And then it works. Is there a way to preset the page to not go into that view on a phone?
bedst,
Thomas
EDIT: I seem to have to exit mobile version on every page manually to make it work.
-
This reply was modified 1 year by
thhjort.
Hi,
Please check this guide on how to purge the cache: https://www.greengeeks.com/support/article/clear-litespeed-cache/#:~:text=Method%201%3A%20Using%20WordPress%20to,all%20of%20the%20LiteSpeed%20Cache.
Thank you!
I solved the problem, but not in the nicest way. I reactivated AMP and turned off the mobile version in AMP. This stopped my phone from going into the mobile version of the page and start to present the reponsive version of the site.
I know this is probably not the best ways to solve this, since it required AMP, but it did the trick for now.
best, Thomas
The solution was to reactivate AMP, go to the AMP Settings panel and use the “Other” rollout to turn off “Redirect mobile visitors to AMP”.
At least, that worked in this particular case.
I haven’t tried deactivating the AMP plugin since, so it might just be a “post hoc ergo propter hoc”
best, Thomas