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…

 

0 Comments

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>