Wordpress LScache Plugin: Lazy Load Parent Class Excludes questions
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hi, the Lazy Load Image Parent Class Name Excludes function is used to exclude images from, for example, this code: In this case, if I exclude the nolazy class, all the images contained in is excluded from the lazyload? Another question#1, since I use WPbakery and it allows you to insert only custom IDs (no class) to post blocks, is it possible to use IDs too (instead of class css)? Another question#2: through a custom exclusion is it possible to exclude only the first element of a CSS class or ID? Thanks for support. I hope I explained myself. Thanks. Hi, 1) yes 2-1) sadly no , it only filters with class 2-2) I am not sure what exactly does it mean , could you please provide more info ? better a code snippet Best regards, Ive tried and it doesnt work. If I set up a CSS class with the first child it doesnt work. I created a function that replaces the first element of a given CSS class, and I excluded that CSS class from the lazyload. Is it possible to include the background images of a div from the lazyload? I dont want them to be included in the lazyload, some background images are not visible without scrolling. Thank you! Is it possible to include the background images of a div from the lazyload? Hi, > include the background images of a div from the lazyload? could you post an example snippet ? Best regards, This is the code that loads the image. I would like to include it in the lazy load. HTML CSS Image Sprite: .img-1 background-position: -3px 0 width: 45px height: 45px .img-1, .img-10, .img-11, .img-12, .img-2, .img-3, .img-4, .img-5, .img-6, .img-7, .img-8, .img-9 display: inline-block background: url(/wp-content/uploads/2020/08/image.png) no-repeat overflow: hidden text-indent: -9999px text-align: left Thanks
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference