LAZY LOAD IMAGE
-
I am using Litespeed cache lazy load feature, so there is only 1 effect of lazy load.
So I wanna use this code to change the effect, as this is specified on their website:
/* PART 1 – Before Lazy Load */
img[data-lazyloaded]{
opacity: 0;
}/* PART 2 – Upon Lazy Load */
img.litespeed-loaded{
-webkit-transition: opacity .5s linear 0.2s;
-moz-transition: opacity .5s linear 0.2s;
transition: opacity .5s linear 0.2s;
opacity: 1;
}where should I paste this CSS as I tried putting in my theme <head> </head> and it was still not working
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘LAZY LOAD IMAGE’ is closed to new replies.