Site logo

Archived topic

How this long line is causing LCP in Page speed insight tool

5 replies · Started by SAGAR on August 26, 2022

Viewing posts 1–6 of 6

Hi there,

that isn't a long thin line, its a thumbnail of the site-content container ie. the container that has all of your post content inside.

And if you mean a CLS issue, then that site-content is being shifted down the page by the Advert you have loading between your site header and your site content. You need to make sure your adverts are inserted with the correct size container or you will get CLS.

Can you tell me how to specify a fixed div before content and after header? Please note that I want it for specific pages.

How are you adding the advert to the page ?

Actually, that advert between header and content is showing automatically. I did not add any code for that space. Please help me with this. This long line is creating a large CLS

If it is appearing automatically then you must have some auto advert service running ?
If thats the case then i would recommend you exclude that area from auto adverts.

This archived topic is closed to new replies.