Google Cumulative Layout Shift (CLS) - Question | JoomShaper

Google Cumulative Layout Shift (CLS)

Ralph-Uwe Scherer

Ralph-Uwe Scherer

Template 3 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?

0
3 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #155

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

0
Ralph-Uwe Scherer
Ralph-Uwe Scherer
Accepted Answer
1 year ago #78623

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.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #78626

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

0