Image banner
A full-screen campaign image with text and shoppable hotspots.
A full-screen campaign image with text and shoppable hotspots.
- Where it can go: Any page
- Area: Home and storytelling
- Blocks: up to 6
- File:
sections/campaign-banner.liquid
Section settings#
| Setting | Type | Default | What it does |
|---|---|---|---|
| Image | Image | ||
| Mobile image | Image | Hotspots use their mobile positions on it. | |
| Mobile crop | Choice | Image focal point | Part of a wide image kept in view on phones. Options: Image focal point, Left, Center left, Center, Center right, Right. |
| Height | Choice | Full screen | Options: Full screen, Large, Medium. |
| Pin behind the next section | On/off | On | The next section slides over the banner as the page scrolls. |
| Eyebrow | Text | Campaign | |
| Heading | Text | Shop the look | |
| Heading size | Choice | Large | Options: Extra large, Large, Medium, Small, Extra small. |
| Text position on desktop | Choice | Bottom left | Options: Top left, Top center, Top right, Middle left, Middle center, Middle right, Bottom left, Bottom center, Bottom right. |
| Text on mobile | Choice | On the image | Below the image shows the whole image, uncropped. Options: On the image, Below the image. |
| Text position on mobile | Choice | Bottom left | Options: Top left, Top center, Top right, Middle left, Middle center, Middle right, Bottom left, Bottom center, Bottom right. |
| Color scheme | Color scheme | Scheme 3 | Text on the image stays light. |
| Product card color scheme | Color scheme | Scheme 1 | |
| Text | Rich text | ||
| Caption | Text | A short line, like a place or date. | |
| Text inset | Choice | Tight | Options: Tight, Page margin. |
| First link label | Text | Explore the campaign | |
| First link | Link | ||
| Second link label | Text | Shop the edit | |
| Second link | Link |
Section spacing#
| Setting | Type | Default | What it does |
|---|---|---|---|
| Top spacing | Choice | None | Options: None, Small, Medium, Large. |
| Bottom spacing | Choice | None | Options: None, Small, Medium, Large. |
Blocks#
Hotspot
Type: _campaign-banner-hotspot
| Setting | Type | Default | What it does |
|---|---|---|---|
| Product | Product | ||
| Card image | Image | Replaces the product image in the card. | |
| Show the card at first | On/off | Off | Only the first hotspot with this on opens. |
| Card side on desktop | Choice | Auto | Which side of the dot the product card opens on. Auto picks the side with room. On phones the card sits inside the photo. Options: Auto, Left, Right. |
Position on desktop
| Setting | Type | Default | What it does |
|---|---|---|---|
| Horizontal position | Slider 0 to 100 % | 60 % | Measured on the image, so the dot stays on the piece at every size. |
| Vertical position | Slider 0 to 100 % | 40 % |
Position on mobile
| Setting | Type | Default | What it does |
|---|---|---|---|
| Set a different position on mobile | On/off | Off | Use this with a mobile image, or when the phone crop moves the piece. |
| Horizontal position | Slider 0 to 100 % | 60 % | |
| Vertical position | Slider 0 to 100 % | 40 % |
Card
| Setting | Type | Default | What it does |
|---|---|---|---|
| Note | Text | Shown under the price, for example a size: 18 mm | |
| Link label | Text | View product |
Developer notes#
Campaign banner: full-screen image with copy and shoppable hotspots (theme blocks in blocks/_campaign-banner-hotspot.liquid). The dots sit on a layer sized exactly like the cropped image (object-fit: cover, focal point included), so a dot set on a piece stays on it at every screen size.