Before/after slider
The Before/after slider puts two images on top of each other. Shoppers drag the handle to compare them.

How to set it up
Step 1: Add the section
- In the theme editor, open the home page and click Add section in the Template area.
- Choose Before/after slider. Drag it to where you want it on the page.
Step 2: Add the images
- Under Media, select the Before image (1) and After image, and mobile versions. Use images of the same size.

Step 3: Set the slider
- Under Comparison controls, choose Horizontal or Vertical, the Initial position, and the labels.
- Add text blocks next to the slider and set the Media position and width.
Settings reference
Before/after slider
| Media | |
|---|---|
| Before image | An image from your files. |
| After image | An image from your files. |
| Before image (mobile) | An image from your files. |
| After image (mobile) | An image from your files. |
| Media ratio | Sets the shape of the media frame. Adapt keeps each image's original shape. Options: Adapt to media, Square, Landscape (4:3), Landscape (5:4), Landscape (16:9), Portrait (4:5), Portrait (3:4), Portrait (9:16). |
| Media ratio (mobile) | Sets the shape of the media frame. Adapt keeps each image's original shape. Options: Adapt to media, Square, Landscape (4:3), Landscape (5:4), Landscape (16:9), Portrait (4:5), Portrait (3:4), Portrait (9:16). |
| Media fit | Options: Cover, Contain. |
| Corner radius | Options: Default, None, Small, Medium, Large. |
| Comparison controls | |
| Orientation | Options: Horizontal, Vertical. |
| Initial position | Slider. |
| Show labels | Turns this on or off. |
| Before label | |
| After label | |
| Label visibility | Options: Near endpoints, Always. |
| Control size | Options: Small, Medium, Large. |
| Handle pulse | Once pulses the handle twice when the slider is on screen, then stops. Options: Always, Once, Off. |
| Control color scheme | Colors from Theme settings > Colors. |
| Layout | |
| Media position | Options: Left, Right. |
| Media width | Options: 40%, 50%, 60%. |
| Mobile order | Options: Content first, Media first. |
| Desktop | |
| Column gap (desktop) | Slider. |
| Mobile | |
| Row gap (mobile) | Slider. |
| Corners | |
| Make section rounded | Rounds this section's corners with the radius set for each one. |
| Top left radius | Slider. |
| Top right radius | Slider. |
| Bottom right radius | Slider. |
| Bottom left radius | Slider. |
Full width, section layout, color scheme, spacing and mobile overrides work the same in every section: see Section layout and spacing. Headings, subheadings and descriptions: see Section headings and text.