• 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!

    https://www.ads-software.com/plugins/lazy-load-xt/

Viewing 1 replies (of 1 total)
  • Plugin Author dbhynds

    (@dbhynds)

    Hmm… That looks right to me. Obviously, you’d want additional styling for the bg position, size, etc. I’m assuming you have the background image addon enabled under “Settings > Lazy Load XT”?

Viewing 1 replies (of 1 total)
  • The topic ‘Lazy load background Images’ is closed to new replies.