• Resolved mt93

    (@mt93)


    Hello,

    I tried width and height to solve the CLS issue, but without success.

    As you can see in the attached pictures, I think I did everything right. Even though there are width and height values in block 15, it still seems to be missing. What is the problem?

    Note: I only made these attempts at block 15. All other blocks have the same error.
    I am using the latest version of the plugin.
    Cache disable.

    Current setting: https://prnt.sc/1rgp0ql
    CLS result: https://prnt.sc/1rgp4nd

    Kind regards.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Spacetime

    (@spacetime)

    Hello,

    please follow the guidelines described here:
    https://adinserter.pro/faq/how-to-minimize-layout-shift

    In principle, if you define right block height there should be no layout shift because of the block.
    Please note that if you use responsive code, Google may sometimes serve ads that are higher than the container.

    Thread Starter mt93

    (@mt93)

    I did the ones here. I’m using a fixed size banner, not a Google ad. I configured it to appear only on Desktop devices.

    Image: https://prnt.sc/1rgv4pd

    Plugin Author Spacetime

    (@spacetime)

    You don’t need to specify block size if you use custom CSS code with defined width and height.

    Which block shifts the layout?

    Thread Starter mt93

    (@mt93)

    Currently all blocks are problematic. I only did the experiments at block 15 but nothing I applied at block 15 seems to be working.

    Plugin Author Spacetime

    (@spacetime)

    Block 15 is inserted as the last widget in the sidebar and has no impact on the layout.

    You defined block size with negative margins.
    You added p tags into block code which occupy some space.

    Use pure ad code, define block width (no custom CSS unless really needed).

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘CLS – width and height issue’ is closed to new replies.