Archived topic
Jumping site logo and other Nav item
6 replies · Started by Dong on May 11, 2022
Hi guys,
I've been having this issue with the log and Nav item shoving around when refreshing, causing bad CLS scores. I've tried everything, including not lazyloading the item and using transition: none; in CSS, to no avail.
Please help.
Here's my site:
Just move around different sections of the main menu, and you'll notice.
Thanks,
-Dong.
Hi there,
if you temporarily disable WP Rocket and clear any caches, then retest your site - does the problem still exist ?
It happened even when I disabled WP Rocket, David.
Hi Dong,
Can you try add this CSS see if it helps:
.main-navigation .inside-navigation, .main-navigation .main-nav>ul {
flex-wrap: nowrap !important;
}
No change, Ying. :(
Hum..edited the CSS here, can you give it another try?
https://generatepress.com/forums/topic/jumping-site-logo-and-other-nav-item/#post-2217014
Wow! That did it, Ying! Thank you so much! ❤️