Is there a way to set the vertical carousel height based on the slide height? #566
-
So for example I'd like to be able to not define a container height and have it wrap to the slide height? Thanks! ** edit: If that's not possible, can I achieve something like this, but without the spacing between the slides? I'm struggling with how the slides are styled within the container, it seems like the container doesn't actually behave like a wrapper? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @NickWoodward, No you have to specify a height for a vertical carousel. That’s how CSS work - It’s a browser limitation for containers with vertical overflow content. Please read this. However, why don’t you use the carousel generator and generate a vertical carousel? That will show you how to setup your CSS in a correct way. Best, |
Beta Was this translation helpful? Give feedback.
Hi @NickWoodward,
No you have to specify a height for a vertical carousel. That’s how CSS work - It’s a browser limitation for containers with vertical overflow content. Please read this.
However, why don’t you use the carousel generator and generate a vertical carousel? That will show you how to setup your CSS in a correct way.
Best,
David