• Resolved jinsley8

    (@jinsley8)


    I’m using ‘Before + After Images for Divi’ plugin and when I enable image lazy load the markup gets multiplied on the before/after sliders.

    The container is duplicated 5 times before the next div starts:
    <div class=”twentytwenty-wrapper twentytwenty-horizontal”>
    <div class=”twentytwenty-wrapper twentytwenty-horizontal”>
    <div class=”twentytwenty-wrapper twentytwenty-horizontal”>
    etc…

    Then the overlay and slide handle are also duplicated.

    Any idea how this could be happening?

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Steve Truman

    (@a3rev)

    Hi @jinsley8

    Thanks for the link – had a look. The only thing I can think of is that before and after script is double loading the HTML when lazy load – loads the placemarker and then calls the original image.

    I am thinking that you should try turning on noscript, maybe that will resolve it? Its just a suggestion – I don’t know if it will work.

    You will find the Noscript Support option in the + Lazy Load Images option box. It is just above the Exclude images section.

    Please try it and let me know how you go.

    Steve

    Thread Starter jinsley8

    (@jinsley8)

    I already had it enabled

    Plugin Author Steve Truman

    (@a3rev)

    Hello @jinsley8,

    As Divi is a Premium theme (and its plugins) I don’t have it to test with. I’d suggest if you have not already done so to ask the Before and After plugin developer (Divi?) to install a3 Lazy Load and run a test – they will easily be able to then tell why the extra HTML is being loaded when a3 Lazy Load is loading the image.

    It is not an issue that we have ever seen before so it would seem to be specific to that plugins code. It will be something they have to tweak in their code.

    I will change this ticket status to resolved as there is not anything we can do at the moment to help you with this Divi issue (another one). But please do update it if there is anything further that I can help you with this issue after you have been to the Divi theme support.

    Steve

    Thread Starter jinsley8

    (@jinsley8)

    Thanks Steve.

    I do have a ticket open with the other plugin too but the author hasn’t been active in over a month so I’ll have to wait more.

    Plugin Author Steve Truman

    (@a3rev)

    Hi @jinsley8
    Thanks for letting me know what you have done – much appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Duplicates HTML markup from Divi Before/After plugin’ is closed to new replies.