Sections / Storytelling
Before and after
A before and after slider next to a heading, two stats and a link to the tested product. Shoppers drag across the photo to compare the two states, such as dry and wet fabric. You want to prove a fabric claim, such as quick drying or no see-through, with two matching photos.
Storefront · desktop
Storefront · phoneAdd the section

Before and after selected in the theme editor: its blocks in the list on the left, its settings on the right.
- In the theme editor, open the page you want it on, for example Home page.
- Select Add section and choose Before and after.
- Fill in the settings below, then Save.
In the demo store: index.
Image sizes Desktop 1800 × 2000 px, near square to portrait (half the screen, full height). Mobile 1200 × 1800 px, 2:3. All image sizes

Section settings
| Setting | Type | Default | What it does |
|---|---|---|---|
| Label tag | Text | 09 | |
| Label | Text | Fabric lab | |
| Heading | Text | Tested in the rain. | |
| Text | Text | Same legging, before and after 12 km i… | |
| Stat value 1 | Text | 38 | |
| Stat unit 1 | Text | min | |
| Stat label 1 | Text | Dry again after a soaked run | |
| Stat value 2 | Text | Never | |
| Stat unit 2 | Text | — | |
| Stat label 2 | Text | See-through when wet | |
| Tested product | Product | — | |
| Comparison | |||
| Before image | Image | — | |
| After image | Image | — | Leave empty to show the before image darkened, as if wet. |
| Show water drops | Checkbox | On | |
| Before tag | Text | Dry · 0 km | |
| After tag | Text | Wet · after 12 km in rain | |
| Comparison label for screen readers | Text | Compare dry and wet fabric | |
| Image and text | |||
| Image side | Choice | Right | Options: Left, Right. |
| Image width | Slider 40–70% | 50% | |
| Height | Choice | Full screen | Options: Full screen, Adapt to image, Square, Portrait, Landscape. |
| Vertical position | Choice | Center | Options: Start, Center, End. |
| Text background | Color | — | Empty: the color scheme’s background. |
| Layout | |||
| Space above | Choice | Default | Options: Default, None, Small, Medium, Large, Custom. |
| Space below | Choice | Default | Default follows Theme settings > Layout > Space between sections and lets edge-to-edge bands touch. Small, Medium and Large are half, equal to and one and a half times that spacing. Options: Default, None, Small, Medium, Large, Custom. |
| Space above | Slider 0–200px | 80px | |
| Space above on phones | Slider 0–200px | 56px | |
| Space below | Slider 0–200px | 80px | |
| Space below on phones | Slider 0–200px | 56px | |
| Divider above | Choice | None | Waves and curves cut into the edge of a section with its own color scheme or a background; a line works on any section. Options: None, Line, Wave, Curve out, Curve in. |
| Divider below | Choice | None | Options: None, Line, Wave, Curve out, Curve in. |
| Show on | Choice | All devices | Desktop means screens 990px and wider. A hidden section stops its timers and videos and does not load its images; in the theme editor it stays visible, faded, so you can edit it. Options: All devices, Desktop only, Mobile and tablet only. |
| Heading | |||
| Heading size | Choice | Default | Options: Default, Small, Medium, Large, Display. |
| Heading tag | Choice | Auto | Changes meaning for search engines and screen readers, not the look. Auto uses H2. Choose H1 only for the main title of a page, such as a home page hero. Options: Auto, H1, H2, H3. |
| Appearance | |||
| Color scheme | Color scheme | Scheme 1 | |
Tip Shoot both images from the same spot with the same framing so the slider lines up.
Tip Leave After image empty to show the before image darkened as if wet, with optional water drops on top.
Limitations and troubleshooting
- The slider sweeps once on its own when it scrolls into view. This is skipped when reduced motion is on.
- On desktop the photo follows the mouse. On touch screens shoppers drag the handle.
- Only two stats are available. A stat without a value is hidden.
Related: Fabric library · Made to last · Product rules
Was this page helpful? No, ask support
Still stuck?
Contact supportSend us a screenshot and your store link. We reply within two business days.