
L04 · EcomSections
Before & After Slider
Compare two images with a smooth, accessible handle. Mouse, touch and keyboard. One file, one payment.
$7 launch price In validation
Not on sale yet: it is being validated in a real Shopify store (Dawn and Horizon). Meanwhile you can try all of it in the demo.
- Version
- 1.0.0
- Technology
- Shopify Liquid (Online Store 2.0 section)
- Requirements
- An Online Store 2.0 theme and access to edit its code
- License
- 1 live store + its development copies
- Payment
- One-time, no subscription
Five designs
Features
- Drag with mouse, finger or pen; tap to jump; full keyboard support
- Accessible slider that announces its value
- Phone-specific images and reserved space (no layout shift)
- Labels, three handle styles, colors, border and corner radius
- Optional first-view nudge (respects reduced motion)
- Title, text and button per comparison
Some changes are easier to show than to describe: a restored table, a retouched photo, a cleaned sofa, a new finish.
This section puts the two images on top of each other and lets shoppers drag to compare, with a handle that also works with the keyboard and screen readers.
Compatibility
| Shopify Theme Check | No errors or warnings (CLI 5.1) |
|---|---|
| Horizon 4.5.0 | Installed from the ZIP; validation in progress |
| Dawn 16.2.0 | Installed from the ZIP; validation in progress |
| Browsers | Chromium, Firefox and WebKit; emulated Android and iPhone |
| Other themes | Online Store 2.0 themes; not tested on every theme |
Installation
- Duplicate your theme and edit the code of the copy.
- Add a section named
ecom-before-afterand paste the file from the ZIP. - In the theme editor, add one of the five designs.
- Pick your products, images or videos and save.
What you get
- The .liquid section file (markup, settings, styles and behaviour)
- Guide in HTML and Markdown
- Template example, changelog, requirements and license
- File manifest and SHA-256 checksums
Changelog
1.0.0 — first release
- Five designs: horizontal, vertical, full-width editorial, cards carousel, grid.
- Pointer, touch and keyboard control with an accessible slider.
- Phone images, reserved space (no layout shift), labels, three handle styles, optional first-view nudge.
FAQ
Can I use video?
Images only in this version.
Do I need an app?
No.
Can I show health or beauty results?
Follow your market's advertising rules and show real, typical results.
License and support
EcomLabs Standard License: one live store or website plus its development copies. You may modify the code; you may not resell or redistribute it.
Related

Shoppable Video & UGC Reels
A Shopify section with 5 shoppable video designs, variant picker, add to cart and cart drawer support.
$15In validation

Product Comparison
A comparison section with 5 designs, live prices and add to cart, accessible tables and a mobile "choose two" mode.
$9In validation

Shop the Look & Hotspots
A section that turns photos into shoppable looks, with phone positions, quick view with variants and 5 designs.
$15In validation



