• Resolved t0t0r0555

    (@t0t0r0555)


    Hi. I love LiteSpeed Cache lazy load feature. It works flawlessly so far. However, I’m noticing that the lazy load doesn’t work on images that are set with background-image.

    For example, I am using the AnWP Post Grid and Post Carousel Slider for Elementor plugin to display my posts in grid and that plugin uses background-image to display featured image. The code looks like this:
    <div class="anwp-pg-post-teaser__thumbnail-img anwp-pg-height-300" style="background-image: url(image.jpg)"></div>

    Is it possible to lazy load that too? Thanks.

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

The topic ‘Lazy load ‘background-image’’ is closed to new replies.