Archived topic
CLS from div.site-footer
5 replies · Started by William on November 4, 2021
Hi there,
I'm trying to improve CLS on pages such as this and Cloudflare, and notice a div.site-footer element keeps popping up with CLS:

Is this a cause of concern with GP?
Kind regards,
Will
Hi William,
I've tested the page on different site performance testing tools.
PSI - https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fpoemanalysis.com%2Fpoetry-explained%2Fpoetry-themes%2F
GTMetrix - https://gtmetrix.com/reports/poemanalysis.com/naxyu13Q/
WebPageTest.org - https://webpagetest.org/result/211105_AiDcXH_b28c49474323dee38266cb52e63a5441/
I don't see the site footer being flagged.
Is this a cause of concern with GP?
The bigger concern is the number of scripts running on your site. (from scripts. likely the ads)
Consider getting an optimization plugin for this. And consider reducing the number of ads displayed as well. (there are a lot of iframes in your site. each of these are quite heavy for loading times.)
Google Search Console has no LCP or FID issues, but there is a slight CLS. When the ads load, they do take a while to load. However, they are deferred, so the actual webpage loads very quickly. See without ads (where ads are deferred after page load)
I usually find pagespeed insights and others are not as good as real-world data from Google Search Console, or Cloudflare Insights. CLS is the only issue and when I see what causes part of the issue, the footer element seems to appear quite a lot.
Is this a 'red herring' or is this something that can be addressed to reduce CLS?
Kind regards,
Will
Hi there,
looking at the site-footer i cannot see any content you have added that would change size after the page is loaded.
Which means that something on the page before the footer is causing the issue.
One thing i noticed is that:
a) the comments load later - pushing the footer down - but not always
b) within the comments form there is an advert that appears later and changes size
Not sure if your delaying the loading of either of them - but they look to be the issue.
Ah okay, I'll look into that, thanks for the clarity on this, much appreciated!
Glad we could be of help