Google Cumulative Layout Shift (CLS) - Forum | JoomShaper
Staff replied Templates

Google Cumulative Layout Shift (CLS)

Asked by Ralph-Uwe Scherer 5 years ago Last activity 4 years ago

I have found that the following tag is causing a big layout shift on mobile devices (according to GTMetrix)

section id="sp-main-body"

I am using the shapernews365 template. My pages seem to load fairly quickly but I am being penalized a great deal by Google due to this CLS issue.

Is there a way to add some custom CSS to make this tag not cause any CLS issues or will I just have to learn to live with it?

3 replies

Paul Frankowski Senior Staff

Hi,
Can you explain more. Please share a real screenshot what is wrong with design.

Using custom CSS for mobile view only
you can decide about padding used for #sp-main-body

Ralph-Uwe Scherer Asked this

There is nothing wrong with design at all. The issue is that Google is penalizing my pages only on desktop for CLS issue. Mobile pages are fine. This is very strange.

Paul Frankowski Senior Staff

Indeed as I checked on PageSpeed Insigh few aspects on your site need improvment.
The mobile score is very low.

Log in to reply.