• Resolved brucetm

    (@brucetm)


    Hi there! I notice that when I have SVG Support set to swap out all SVGs, that in Elementor’s Carousel widget set to continuous cycle, the initial load of an SVG image is swapped out correctly, but on subsequent slide-ins the IMG has the style-svg class but is not replaced. Is there a solution to this? Thanks as always for the awesomely useful plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Benbodhi

    (@benbodhi)

    Hi there,

    Interesting. This would be because my plugin fires the JS file to scour the page for IMG elements with SVG files in the SRC attribute. So once the page has loaded, it won’t fire again unless you specifically tell it to… Which I haven’t done personally before, but I believe it should be possible.

    I’d say that the carousel isn’t loading the subsequent images on page load and therefore my plugin won’t find them to swap them out with inline code.

    It’s likely that you could get my script to fire again when the carousel fires. That should fix the issue.

    Let me know how you go.

    Thread Starter brucetm

    (@brucetm)

    Thank you for the advice, I will try and figure this out, and will report back here if I do.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘SVG not being swapped out in Elementor Carousel’ is closed to new replies.