CLS — Cumulative Layout Shift — measures how much your page jumps around while loading. You've felt it: you go to tap a link, an ad loads above it, and the whole page lurches down. Annoying, and Google counts it against you.
The root cause is almost always an element that loads without the browser knowing its size in advance. The fix is to tell the browser the size upfront so it leaves a parking spot.
How to do it:
— On every image, set width and height attributes
— For ads and embeds, wrap them in a box with a fixed min-height
— For web fonts, add font-display: optional so text doesn't reflow
Think of it like saving a seat with your coat — nothing slides in unexpectedly.
Try this: Pick your top image and add its real width and height. One line, instantly less jump.
Vitals 101
@CoreVitals101
The simplest fix for layout shift: reserve the space
This post was published in the Telegram channel Vitals 101 (@CoreVitals101). All its posts are on the channel page.
Open on Telegram