Mobile version of image not showing | Divi

Hi Nathan,

You could exclude that from lazy loading with the “skip-lazy” class or you can add the items to the lazy load exclusion box. Alternatively, it may help to check if you have something else doing lazy loading and disable that.

Thread Starter
Nathan

(@natedanielz)

Hi,

The skip-lazy class wouldn’t work in this case because the way Divi works is you choose a different image for mobile in the same element. You can only add a class to the element, which means you skip lazy load for desktop images as well.

Adding the mobile image file name to the exclusions worked though, so thanks for the tip!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer