Slider with photos of varying widths and wrapping text

Hej there,

I want to create a Slider like this one:

So far so good.

I would like to add a title text and a caption, but the text doesn’t wrap if it’s longer than the with of the image.
I can’t find a solution for this issue.


The gap should be 20px.

I am using ACF Pro gallery with dynamic content to get the title.

Looking forward to hearing from you.
Best wishes
Carlo

Hi Carlo,

Thanks for reaching out.
The width of the slide has been set to auto and that is why the width has been calculated by the width of the title given here. Unfortunately, there is no option to wrap the text as per the width of the image in the slider.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.