Stopped working for style background-image
-
Hi there,
I need some quick help. I’m using ACF. Before I had 3 fields to add images as div background tag and show / hide them via CSS breakpoints but now since I’ve added few more images I’ve noticed plugin stopped working. I’ve added lazyload class name before it was working but now its only showing lazyloaded for all of the elements.
Interesting thing is: I undone my code in .php file still its not working. The only change other than this was… I renamed field names and added breakpoint number at the end of each field for an example: mobile_banner_320, mobile_banner_425 I’ve also changed their class names accordingly for an example: class=”lazyload banner mobile_banner320″ AND class=”lazyload banner mobile_banner425″
Note: CSS is working fine for all breakpoints I’ve already show hide all those banners in CSS, its just lazyload thing not working.
What am I missing? ??
Thanks,
Raheel
- The topic ‘Stopped working for style background-image’ is closed to new replies.