Mobile menu not working on posts

Posted in: Newspaper
Post count: 12

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

Post count: 27744

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!

Post count: 12

Hi Anamaria,

I tried disabling the AMP plugin, but the menu is still not showing on my phone. I also noticed, that some page content is missing (the picture and the share buttons). Don’t know if that is related.

best,
Thomas

Post count: 27744

Hi,

The AMP plugin is still activated ->https://i.imgur.com/79xoExj.png so please deactivate it, and purge the cache a few times.

Thank you!

Post count: 12

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.
Post count: 12

I tried deactivating the AMP plugin from the plugins panel and it is displayed as deactivated. Where do I purge the cache?

best, Thomas

Post count: 27744
Post count: 12

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

Post count: 27744

Hello,

I’m glad you solved it, but I don’t understand what you mean by ” since it required AMP.” Can you please provide more details?

Thank you!

Post count: 12

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

Post count: 27744

Hi,

This is strange, but I am glad that it works.

Have a great day!

Viewing 11 posts - 1 through 11 (of 11 total)
The forum ‘Newspaper’ is closed to new topics and replies.