Inline slider container width

Hi there, I’m using the native Inline Slider element to create a very simple image slider. Some of the images are different sizes, portrait/landscape etc, and I would like the slider container to automatically resize based on the height of the content in each slider. At the moment, the container simply defaults to the height of the tallest image in the slider, which then leaves a gap below other, smaller images. Thanks!

Shaun

Hi Shaun,

Thanks for reaching out.
You can set the Height to Adaptive, but the Height option is hidden unless Align is set to something other than Stretch. Please find the detailed documentation on this.

Hope it helps.
Thanks

Awesome, thanks!

Hi Shaun,

Glad that we are able to help you.

Thanks

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