Divi – Turn Off Lazy Load On Images

Started a new project with Divi and needed lazy load to not happen on the home page. Looking around I found the following page which got me started.

Divi Lazy Loading Images

What I needed to do is go to “wp-content\themes\Divi\includes\builder\scripts\frontend-builder-scripts.js”. On line 3375 I needed to change “Offeset: ‘75%'” to “offset: ‘400%'”.

I hope this helps someone else out there…

 

This entry was posted in Divi, WordPress. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *