Evergreen CodeBefore/After Slider

Free before/after slider builder

Add your two photo links, choose labels, direction and colors, and see the slider live. Then copy the code for Squarespace (any plan), WordPress or any website. Free, with nothing to sign up for.

Your photos

On Squarespace, upload photos through a text block link (File → Upload file) to get a /s/… link. Photos the same size and angle compare best.

Descriptions are read aloud by screen readers and help search engines.

How it works

Direction
On a computer

Phones and tablets always drag.

Look

Divider and handle
Labels

Preview

Drag the handle to try it. Your settings update the preview as you go.

Your code

Open embed/1-code-block-embed.html from your download and replace its <div class="eg-ba" …> line with this. Then paste the whole file into a Code Block (Squarespace Core and up), a Custom HTML block, or any page that takes HTML.

Need the plug-in?

This builder makes the settings. The Before/After Slider plug-in runs them on your site: one price, unlimited sites, every Squarespace plan, plus a WordPress plugin.

See the Before/After Slider

Tips for before/after photos that convince

More detail: How to add a before/after slider to Squarespace.