# 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. ## Settings | Setting | Type | Default | Notes | |---|---|---|---| | 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** | Setting | Type | Default | Notes | |---|---|---|---| | 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** | Setting | Type | Default | Notes | |---|---|---|---| | 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** | Setting | Type | Default | Notes | |---|---|---|---| | 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** | Setting | Type | Default | Notes | |---|---|---|---| | 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** | Setting | Type | Default | Notes | |---|---|---|---| | Color scheme | Color scheme | Scheme 1 | | ## Tips - Shoot both images from the same spot with the same framing so the slider lines up. - 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.