Streaming live at 10am (PST)

SLIDER Vertically centred and cropped with dynamic image


#1

I have created a slider but just can't get it to behave in the way I want it to. Created a diagram to explain what I am after: the image is always centred vertically and as the slider shrinks it crops the sides of the image. I've tried various things with mask, flex etc but just can't get it to do exactly this. If anyone builds a solution would be very appreciative!
NOTE: it is not using a background image with all of the controls as it needs to reference dynamic content including image and text, otherwise it would be a much easier solution.


#2

Correct way is still to use a background image. How is it currently set up? Do you have a share link?


#3

I need the image to come from dynamic content.


#4

Definitely use a background image with a fixed height.


#5

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