Disable lazy loading for specific images
-
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 ?
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.