How to enable the background lazyload feature for certain background images ?

This guide covers how to use the lazyload background feature.

First of all, you need to enable the feature from the Optimole settings, after that add  css selectors to target the desired images for background lazyload and save the changes.

For example, if you have background images on html tags that contain the class my_class_for_image  you would add the following css selector .my_class_for_image and if you also have tags which have background images and have the following id: my_id, you add the selector : #my_id, like this:

  A complete list of available css selectors and their meaning can be found here: https://www.w3schools.com/cssref/css_selectors.asp.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us