I need to add the skip-lazy class to some of my images. I’m using GenerateBlocks and for some reason the class isn’t coming through for the image, just the div. What’s the best solution?
Hmm I just tested and looks like the Additional CSS class(es) field for the image block only adds the class to the image container but not the image itself.
The image block is a WordPress block so unfortunately the theme itself has no control over it.
Can you check with WP Rocket’s support team to see if they have any recommendation in this case?
I’d assume that they’ve dealt with the issue before.