Archived topic
Primary menu search bar appears broken when logged in to Wordpress
9 replies · Started by Dimitrios on September 19, 2021
So my primary navigation search bar appears broken when I am logged in to my wordpress.
TO NON LOGGED IN USERS: https://ibb.co/LRjrC8G (ITS WORKING FINE)
WHEN LOGGED IN: https://ibb.co/9TLqjwS (ITS BROKEN)
What can I do to fix that?
-Thanks
Hi Jim,
Can you provide login info in the private info field as well so we can see the problem?
Thanks!
I just provided you with the link.
If you press VISIT SITE you will see the broken menu.
The menu is fine to non-logged-in users though.
I just logged in and visited the homepage, the search bar works normally on my end.
Have you tested on another devices?
https://www.screencast.com/t/E3uCtOBNhGO
Let me know :)
That's weird. I have checked through my pc on multiple browsers and the problem is still there...
I found out that the SiteGround Optimizer PLUGIN is causing this... But I am not exactly sure which setting... It could be something related to minifying...
The setting which causing the problem was
"Remove Query Strings From Static Resources"
Removes version query strings from your static resources improving the caching of those resources.
If I turn this off the problem is gone...
Hi Jim,
It's likely breaking the stylesheets and scripts(I think it's mostly this) related to the header (search form + navigation).
Remove Query Strings From Static Resources isn't always necessary so you can keep it off. Google's advice about it was even dropped so it's fine if you don't have it enabled. :D
Okay thanks guys!
No problem. :)