Disappearing navigation menu

Posted in: Newspaper
Post count: 201

Hi team,

Having some trouble with our site’s main menu bar disappearing. It’s a problem I’m struggling to recreate, but multiple users have sent screenshots, so it’s definitely happening.

Seems to occur on various browsers, and I can’t pinpoint what might be causing it. The menu always comes back on its own, with no changes to the site.

Appreciate that’s not a lot of info to go by, but any help would be appreciated.

The menu should always be visible in the bar at the top of the page: https://tinyurl.com/483ntazv

Here’s a screenshot someone sent yesterday, showing the disappearing trick in action: https://imgur.com/a/X3GxgCl

Any idea what might be causing it?

Thanks.

Post count: 20685

Hi,

There is a setting that could have this effect in some cases, it depends on the caching configuration.

In the composer if you click on the header menu on desktop, is this option active? https://prnt.sc/G7wrnliJdZt7 If it is, please disable it and clear the cache.

Normally that should not cause a problem. But for example if the cache is not created separately for desktop and mobile, and the mobile version is cached first, the visitors will see the desktop header without the menu. It can be random, depending on which version is accessed first after the cache is cleared. What caching are you using for the website?

Let me know.

Thanks.

Post count: 201

Hi Simion,

Thanks for the suggestion.

The ‘Don’t load on mobile’ option is enabled, but I actually prefer it this way, as it prevents the menu from displaying on mobile devices in a landscape orientation.

Using Cloudflare for cache.

Post count: 20685

I see. And I believe you are using cloudflare APO as well. If so, is this option active? https://developers.cloudflare.com/automatic-platform-optimization/reference/cache-device-type/ If not, please activate it.

By using that option for the menu there are two versions of the header. One that has the header menu and one that doesn’t. If the one that doesn’t have it gets cached, then that is displayed for everyone until the cache gets cleared. With the cache by device type enabled in cloudflare it should not happen anymore. But if it’s already active, then it’s pretty strange.

Thanks.

Post count: 201

Hi Simion,

Thanks for the suggestion. Cache by device type was not active in APO. Going to turn it on as that sounds like the logical fix. Will let you know how it goes.

Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.