• Resolved Francesco

    (@fcolombo)


    Hello,

    I was wandering if you had the plan of adding the option to add a class to individual images used in su_slider (now deprecated) and su_image_carousel.

    Adding a class via the shortcode options (for example: [su_image_carousel class="lazy lazy-hidden"]) assigns the class this way: <div class="su-image-carousel lazy lazy-hidden, not to each individual image of the carousel.

    I think it’s an option that could be useful if we wanted, like in my case, to lazy load the images that appear in the carousel, by adding a class to each img tag.

    Do you think it’s something you’d like to introduce in the future?

  • The topic ‘Add “class” to “img” element (not to the carousel div) for su_image_carousel’ is closed to new replies.