Products / Before/After Slider
Plug-ins
Before/After Slider
A drag-to-compare before/after photo slider for Squarespace, WordPress or any website.
A before photo and an after photo side by side make people do the comparing. This slider puts them in one frame, so visitors drag the divider and see the change for themselves.
It works on every Squarespace plan, including Basic and Personal, with no upgrade needed. WordPress sites get a real plugin with a shortcode. One purchase covers every site you own or build.
Best for: Remodelers, landscapers, turf and lawn companies, cleaners, detailers, painters, med spas and clinics, designers, and the people who build their sites.
Guide: How to Add a Before and After Image Slider to Squarespace
- Squarespace (every plan)
- WordPress
- Wix
- Webflow
- Shopify (2.0 themes)
- Ghost
- Carrd
- Any HTML page
Try it
Illustrated example photos. Drag the divider, tap anywhere on it, or click it and use the arrow keys.
Free Before/After Slider Builder
Add your photo links, choose labels, direction, shape and colors, and see the slider live. Then copy the code for Squarespace, WordPress or any website.
What it does
Every Squarespace plan
Use Code Blocks and Code Injection on Core and up, or Markdown Blocks on Basic and Personal plans. No plan upgrade needed. Both are explained step by step.
A real WordPress plugin
Upload, activate, and add [evergreen_before_after] with two Media Library image IDs. Properly sized images and your alt text are used automatically.
Made for phones
Dragging sideways moves the slider, and swiping up or down still scrolls the page. Tap anywhere to jump the divider there.
Horizontal, vertical or hover
Side-by-side or top-and-bottom reveal, an optional follow-the-mouse mode, a starting position, a fixed shape, and a first-view wiggle that shows visitors it moves.
Your brand colors
Change the line, handle, labels and corners with a few lines of CSS. Labels fade out of the divider's way on their own.
Accessible and light
Arrow keys, Home and End, and screen-reader labels built in. One small file with no jQuery or other code, and photos load lazily.
Installing takes about 5 minutes
Buy and download
Checkout is handled by Payhip. You get the download link right away, by email too.
Upload two photos
Put your before and after photos on your site, taken from the same spot and cropped to the same size.
Paste one snippet
Add a code or Markdown block (or the WordPress shortcode), put in your two photo links, and publish.
Pricing
Unlimited license
$19 one-time
Unlimited websites, yours or your clients'
- All features
- Use on as many sites as you like, including client sites
- Unlimited sliders on every site
- 6 months of updates
- Installation help by email
Prices in US dollars. Sales tax or VAT is added at checkout where it applies. See the license and refund policy.
Details
| Size | 12 KB (about 4 KB gzipped), one file, no dependencies |
|---|---|
| Photos | Any two image links: JPG, PNG, WebP or GIF |
| Squarespace | 7.0 and 7.1, every plan, including Basic and Personal |
| WordPress | Plugin for WordPress 5.8+ and PHP 7.4+, or paste the snippet |
| Browsers | Current Chrome, Edge, Safari and Firefox, desktop and mobile |
| Privacy | No cookies, tracking or outside requests except your two photos |
| Includes | Script, copy-paste snippets, WordPress plugin, demo, install guide |
| License | One price, unlimited websites, including client sites |
| Updates | 6 months of updates and installation help by email |
Questions
Does it work on the Squarespace Basic or Personal plan?
Yes. Those plans can't run Code Blocks or Code Injection, but Markdown Blocks accept HTML on every plan, and the install guide walks you through it. It's a widely used workaround that Squarespace doesn't officially support, so it could change in the future. If it ever stops working, contact us.
Do I need to know how to code?
No. If you can upload a photo and paste text into a block on your site, you can install it. The download includes step-by-step guides for each website builder.
How many sites and sliders can I use it on?
As many as you like. One purchase covers unlimited websites, including sites you build for clients, with unlimited sliders on each. Clients keep using it after your work ends.
What if my two photos are different sizes?
Add one setting to crop both to the same shape automatically. For the best result, take both photos from the same spot and crop them to the same size.
Is this a subscription?
No. You pay once and keep using the version you bought on your licensed sites for as long as you like.
What if it doesn't work on my site?
Contact us and we'll help. If we can't get it working, you can request a refund within 14 days of purchase.
Something else? Ask us.