Cadence is a section: a row of cards that each cycle their own photos.
Set it up
- Upload
sections/mb-cadence.liquidandassets/mb-cadence.js. - Add Maisonblock Cadence and add up to 8 Card blocks.
- For each card: a title, a link, a link label and two to four images.
- Choose the animation (fade, dissolve, slide left, slide right), how often images change and the transition speed.
Behaviour
Cards start a beat apart so the row ripples. Cycling pauses on hover, while the section is off screen and in hidden tabs, and stops entirely for shoppers who prefer reduced motion.
All settings
Read directly from the file you download (version 1.0.0).
| Setting | Type | Default |
|---|---|---|
| Cards per row (desktop) | range | 4 |
| Animation | select | dissolve |
| Change image every | range | 2.4 |
| Transition speed | range | 800 |
| Background | color | #f1f1f1 |
| Section padding | range | 40 |
| Each “Card” block | ||
| Title | text | — |
| Image 1 | image_picker | — |
| Image 2 | image_picker | — |
| Image 3 | image_picker | — |
| Image 4 | image_picker | — |
| Link label | text | Shop now |
| Link | url | — |