• Resolved Nathan

    (@natedanielz)


    Hi,

    In the hero part of the page I use the Divi slider module and for mobile I have a different image then desktop.

    When lazyload is activated, it doesn’t show the mobile image, instead it shows the desktop version.

    What can I do for it to work?

    Cheers,
    Nathan

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support adamewww

    (@adamewww)

    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Mobile version of image not showing | Divi’ is closed to new replies.