CarouselV2
Known issues
If the carousel goes out of bounds on small screens or if it grows forever and ever then most likely the carousel has been wrapped in a container up the tree that has display: grid. Check out the CSS files for more information.
Settings
Name | Type | Default | Description |
---|---|---|---|
data-slides-per-view | number | 'auto' | 1 | Number of slides per view (slides visible at the same time on slider's container). |
data-slides-per-view-md | number | 'auto' | 2 | Number of slides per view at MD breakpoint. |
data-slides-per-view-xl | number | 'auto' | 4 | Number of slides per view at XL breakpoint. |
{sm, md, lg}:lta-carouselv2--hide-nav | class | N\A | Hides the navigation controls (arrow buttons) at the specifed breakpoint |
lta-carouselv2--same-height | class | N\A | Sets all slides to display flex, to make sure they have the same height. |
lta-carouselv2__controls--inverse | class | N\A | Inverts the controls colors to be used on dark backgrounds. |
Default settings
3 Slides per view at xl
Hide navigation controls at SM breakpoint
Slide content of the same height
Inverted navigation controls
Card Component Full Width
EXPLORE CLASSES