Help with Webflow Slider image aligment

I’m having a bit of trouble trying to align landscape pictures with the webflow slider. I can get horizontal alignment working with flex. But I can’t seem to find a way to get vertical alignment without messing up the slider.

The slider issue is on: page / photo 6

Here’s my share link:
https://preview.webflow.com/preview/thepinkroom?preview=9dac64fab2d648991b490bb90b9a88a3

Thank you for the help,

  • Alan

Hi @Alan,

Thanks for the post. I would probably advise to give the slider some fixed height in Pixels, then set the container class to be display flex:

I hope this helps.

Hey Dave,
Thanks for the reply.
If I set the slider at a fixed height the portrait pictures are either cut or the landscape pictures are not working with flex in vertical alignment.
Is there a work around?

-Alan

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