Lazy load background Images
-
Hi,
I’m unable to lazy load the background images I have manually inserted using HTML inside the php files (for example, page.php).
Something like:
<div class="lazy" data-bg="https://localhost/wordpress/wp-content/uploads/2016/05/00610_peace_2560x1600.jpg" > </div>
Am I missing something? Do I need styling with the background-image and url in this case? How do I lazy load this?
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Lazy load background Images’ is closed to new replies.