• Resolved jakubl373

    (@jakublutter)


    First of all, thank you for the great plugin. It improves the site load speed visibly and I am using it together with EWWW image optimizes, W3 total cache, Asset cleanup and Speed booster.
    Given that I use other plugins for some of the functions, I have disabled the following functionalities of your plugin:
    -optimized css
    -optimized js

    However, after activating the plugin, I have noticed issues with rising CLS. It is not caused by images or iframes but by various div elements which are shifted in the layout. I managed to fix some of the occuring shifts by setting the position to fixed (this was the cookie bar) but another fixed element is causing a shift despited being fixed.
    In addition to this, there are some divs that cause a CLS which cannot be set to a fixed position (as they are part of the “regular” site content).

    I tried disabling lazyload by filtering viac CSS selectors but this did not work and the divs were still lazy loaded.

    Do you have any idea what could I do (except for disabling this plugin)?
    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author shinsenter

    (@shinsenter)

    @jakublutter

    Thank you for using the plugin and giving feedback. I will check and consider a solution.

    Plugin Author shinsenter

    (@shinsenter)

    @jakublutter

    Can you give me a URL to sites that are having CLS issues? I need to do some investigation on your site.

    My plugin has basically nothing to do with DIV tags (unless you need to lazyloading the style attribute present on some DIV tags).

    Thread Starter jakubl373

    (@jakublutter)

    @shinsenter I have done some research and found out that the source of the lazy loaded div elements was EWWW Image Optimizer (which is only supposed to lazy load images, which was turned off in your plugin). Funnily enough, even disabling EWWW Image Optimizer and skipping all lazy loading did not prevent the layout shifts – so I guess it is my theme that is causing this.
    Thank you for your help but there is nothing you can do here.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CLS – div elements’ is closed to new replies.