• I just updated WordPress to 5.5, which enables lazy loading generally.

    However, I have a couple of javascript slideshows (namely, WooCommerce products slideshow) that set their height dynamically and need the images loaded early. With lazy loading enabled, they are loaded with minimal height so the content is truncated.

    Is there a way (for example a CSS class) to disable lazy loading on some containers so WP doesn’t add lazy loading recklessly everywhere ?

    • This topic was modified 4 years, 7 months ago by Yui.
    • This topic was modified 4 years, 7 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Disable lazy loading for specific images’ is closed to new replies.