Editorial chapters
A collection told in chapters, each with a photo, text and products.
A collection told in chapters, each with a photo, text and products.
- Where it can go: Any page
- Area: Collections, edits and search
- Blocks: up to 6
- File:
sections/edit-chapters.liquid
Section settings#
| Setting | Type | Default | What it does |
|---|---|---|---|
| Show chapter bar | On/off | On | One tab per chapter, sticky under the header. |
| Shop all label | Text | Shop all | |
| Add the product count to the label | On/off | On | |
| Shop all link | Link | Empty goes to the product grid below on a collection page, otherwise to the collections page. | |
| First image | Choice | Left | Photos alternate sides from one chapter to the next. Options: Left, Right. |
| Color scheme | Color scheme | Scheme 1 | |
| Top spacing | Choice | Medium | Options: None, Small, Medium, Large. |
| Bottom spacing | Choice | Medium | Options: None, Small, Medium, Large. |
Blocks#
Chapter
Type: _edit-chapters-chapter
| Setting | Type | Default | What it does |
|---|---|---|---|
| Chapter name | Text | Everyday | Shown on the tab and above the heading, after its number. |
| Heading | Text | Hoops that go with everything | |
| Text | Rich text | ||
| Image | Image | ||
| Products | Products | Up to 4. |
Pinned product
| Setting | Type | Default |
|---|---|---|
| Product | Product | |
| Horizontal position | Slider 0 to 100 % | 41 % |
| Vertical position | Slider 0 to 100 % | 39 % |
| Show card open | On/off | On |
Developer notes#
Editorial chapters: a collection told in chapters, each a photo beside its copy and up to four products, with a sticky tab bar that marks the chapter in view. Script: assets/edit-chapters.js. The chapters are theme blocks in blocks/_edit-chapters-chapter.liquid.