-
rurban
My menu isn’t opening on mobile device https://saskwatchbirding.com I just noticed the issue today (it wasn’t like this before). Cloudflare cache is cleared and disabled, Perfmatters is disabled. Disabling all other plugins (except GP blocks and premium) doesn’t fix it. I’m not sure what the conflict is – please help, thanks!
-
Alvind
Hi there,
The menu isn’t opening because the JavaScript responsible for the menu toggle is not being loaded on the page. At the moment, the only frontend scripts I can see loading are the jQuery-related ones.
Do you happen to have any custom functions that dequeue scripts? My initial assumption was that this might be caused by an optimization plugin such as Perfmatters removing the script, but since you already deactivated it, that may not be the case.
It would also be worth checking whether your server, CDN, or caching layer is performing any kind of script optimization, concatenation, or deferred loading that could be stripping or preventing the required script from loading.
Let us know if you have any custom functions related to script loading, or if you find any server-side optimization in place.
-
rurban
Thanks – I investigated a few things, in the end Claude looking at the page source html found a missing </style> tag in a recent hook that I added! Thanks for providing some ideas
-
Alvind
No problem, glad to hear that!
- You must be logged in to reply to this topic.