Archived topic
Header shifting after converting to flexbox
5 replies · Started by Rachel on May 2, 2021
Hi there,
I switched to flexbox today in the customiser, and since then I am having issues with the menus in the header - they are shifting and moving around each time I move from page to page.
I don't know why this is happening and was looking for help to solve the problem. I have cleared the cache and still no luck.
Thanks,
Rachel
Hi there,
i just checked the site and i cannot see the change - did you resolve the issue ?
Hi David, I checked again just now and it seems to have stopped. So perhaps it was a caching issue, despite me clearing it. I also switched off critical css in WP Rocket - I will switch that back on and see if the issue returns.
Aah yes - the WP Rocket Critical CSS option would be the cause. Unless you can manually define the critical CSS you will run into problems. The automated option is one of the biggest causes of CLS that we see.
Thanks David - seems to be sorted now with it switched off.
Glad to hear that