Défilé is a section: a hero slideshow with a slow zoom and a blur cross-fade.
Set it up
- Upload
sections/mb-defile.liquidandassets/mb-defile.js. - Add Maisonblock Défilé and up to six Slide blocks.
- For each slide: an image (2400 px wide is plenty), an optional phone image, a small heading, a heading, a button label and a link.
- Set the time per slide, the height on desktop and phone, and the shade behind the text.
Behaviour
Frosted dots fill as each slide plays. The pill gives previous, pause and next; swipe and the arrow keys work too. The slideshow pauses on hover and focus, and stops moving for shoppers who prefer reduced motion. Screen readers hear "Slide 2 of 3" with the heading.
All settings
Read directly from the file you download (version 1.0.0).
| Setting | Type | Default |
|---|---|---|
| Name for screen readers | text | Featured collections |
| Time per slide | range | 5 |
| Height (desktop) | range | 80 |
| Height (phone) | range | 70 |
| Shade behind text | range | 35 |
| Text colour | color | #ffffff |
| Each “Slide” block | ||
| Image | image_picker | — |
| Phone image (optional) | image_picker | — |
| Small heading | text | New season |
| Heading | text | Quiet layers, made to last |
| Button label | text | Discover the edit |
| Button link | url | — |