Tagged: CLS
Hello, I’m trying to troubleshoot issue on my site https://coma.lv/. Once you open it there is a hero image on each page. And even though each page is cached, each time you will notice a content jump when loading that image.
Is there a way to eliminate it? I assume I’m getting bad CLS score because of that and it doesn’t look good too.
Thanks!
Hey vadikcoma,
Thank you for the inquiry.
The theme sets the height of the color section dynamically but for some reason this is a bit delayed. Is it still happening when the Performance > File Compression settings are disabled?
You could also try this code in the Quick CSS field to set manually set the height of the color section.
.av-minimum-height-75 .container, .av-cell-min-height-75 > .flex_cell {
min-height: 75vh;
}
Best regards,
Ismael
Actually it works!
I’ve added same code to 50% sections and they don’t jump anymore.
Thank you!
Hi,
Great, I’m glad that Ismael could help you out. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
Rikard
Please consider as solved
Hi,
I’m glad this was solved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon