Collection tiles
A sideways-scrolling row of small tiles, one per collection.
A sideways-scrolling row of small tiles, one per collection.
- Where it can go: Any page
- Area: Home and storytelling
- Blocks: up to 16
- File:
sections/collection-tiles.liquid
Section settings#
| Setting | Type | Default | What it does |
|---|---|---|---|
| Heading | Text | ||
| Heading size | Choice | Medium | Options: Small, Medium, Large. |
| Full width | On/off | On | |
| Tiles per row on desktop | Slider 4 to 10 | 8 | With more tiles the row scrolls, with arrows. |
| Tiles in view on phones | Choice | 3.5 | Options: 2.5, 3.5, 4.5. |
| Shape | Choice | Square | Options: Square, Circle. |
| Image | Choice | Fit with space | Fit with space suits product cut-outs on a plain background. Options: Fit with space, Fit, Fill the tile. |
| Tile background | Color | #F5F4F2 | Transparent uses the color scheme. Tiles can override it. |
| Tile text | Color | Empty picks black or white, whichever reads best on the tile. | |
| Labels in capitals | On/off | On | |
| Color scheme | Color scheme | Scheme 1 |
Section spacing#
| Setting | Type | Default | What it does |
|---|---|---|---|
| Top spacing | Choice | Medium | Options: None, Small, Medium, Large. |
| Bottom spacing | Choice | Medium | Options: None, Small, Medium, Large. |
Blocks#
Tile
Type: _collection-tiles-tile
| Setting | Type | What it does |
|---|---|---|
| Collection | Collection | |
| Image | Image | Empty uses the collection image. |
| Background | Color | Uses the section's tile background when empty. |
| Text | Color | Uses the section's tile text when empty. |
| Label | Text | Leave empty to use the collection title. |
Developer notes#
Collection tiles: a sideways-scrolling row of square tiles, one per collection. Script: assets/collection-tiles.js. The tiles are theme blocks in blocks/_collection-tiles-tile.liquid.