Before & after slider

Every feature of the before and after slider, and when to use it.

Two photos in one frame, with a line visitors drag to compare them: a smile, skin, hair, a gym journey, a kitchen, a garden or a retouched photo. Below is every feature in the five tabs, what it does and when it helps.

Make one

  1. 1New widget, Before & after. Pick a design made for your kind of business, or skip for the plain one.
  2. 2In Photos, pick your before and after photos (two for each pair), or press Use these sample photos to start from the design's own and change them one by one.
  3. 3Press Create widget, then add it to your website from the Install tab.

1. Photos

Templates

What it does: Ready designs for clinics, salons, gyms, builders, painters, cleaners, detailers, gardeners, photographers and estate agents, plus holiday looks. Each shows its own sample photos until you add yours.

When to use it: Start from a look made for your work.

Words

What it does: A small line above, a heading and a line under it.

When to use it: Smile makeovers, or Our projects.

Add pairs

What it does: Pick two photos for each pair; a file name with before or after goes on its side. One photo alone starts a pair. JPG, PNG or WebP; each is made smaller (WebP, at most 1600 px) before it uploads. A link to a photo works too.

When to use it: Add a whole portfolio in one go.

A pair

What it does: Its two photos, their own labels, a description of each photo for screen readers, a title, a few words and a category for filter buttons. Copy, remove or move it up and down.

When to use it: A title like Kitchen, Harbour Street and two coats, three days tell visitors what changed.

Photos in between

What it does: Up to two more photos per pair, like Week 6. Visitors pick which two to compare with buttons under the photos.

When to use it: A 12-week journey in three steps.

Line up the two photos

What it does: Shows the before photo half see-through over the after one, so you can move it and zoom it until they match.

When to use it: Two photos taken a little apart still compare cleanly.

Show your own real results, and ask clients before you show their photos. Same spot and same light make the change easy to see.

2. Layout

Layout

What it does: List (one under another), Carousel (one at a time with arrows, dots and small photos to pick), Grid (2 to 4 columns, 1 or 2 on phones) or Tabs (a button per pair above one big slider). With categories, a list or grid gets filter buttons.

When to use it: Carousel for a few looks; Grid with categories for a builder's portfolio.

Photo shape

What it does: As the after photo, square, 4:3, 3:2, wide, extra wide, tall, portrait or story, and another shape for phones.

When to use it: Portrait 4:5 on phones keeps faces whole.

Side panel

What it does: On wide screens the heading, a big line (a price, a number), a few facts and the button sit beside the photos; on phones, under them.

When to use it: A property's price and Sold in 9 days beside the staged room.

Titles and words

What it does: Under each pair, on a dark band over the photo (under it on phones, so the handle never covers them), or hidden.

When to use it: On the photo for a clean, full look.

Size

What it does: The widest it gets, and the space between pairs.

When to use it: Keep a single slider from filling a very wide screen.

3. Slider

Line

What it does: Left to right, top to bottom, or slanted; and where it starts.

When to use it: Top to bottom suits a room or a face; slanted looks fresh for painters.

How visitors move it

What it does: Drag (or click and tap where it should go), Hover (follows the mouse; drag on phones), Plays itself (sweeps until someone touches it) or Still.

When to use it: Plays itself catches the eye on a busy page.

Show it can be moved

What it does: A small nudge, a Drag tag, both or off, once, when the photos first come into view.

When to use it: Many visitors do not know a photo can be dragged until it moves.

Handle

What it does: Circle, pill, square, diamond, arrows only, grip, dot or the line alone; its size, arrows, the line's width and a glow.

When to use it: A big round handle is the easiest to find on phones.

Labels

What it does: Before and After in any words and any language, shown always, on hover or hidden; at the top, middle or bottom; pill, square, glass, tag or plain.

When to use it: Day 1 and Week 12 for a gym; Vorher and Nachher on a German site.

4. Style

Colours

What it does: The handle, its arrows, the line, the labels, the heading, the words and the button.

When to use it: Match your brand.

Background

What it does: None (your page shows through), one colour or a blend of two, with rounded corners.

When to use it: A soft colour sets the slider apart from the page.

Photos

What it does: Rounded corners, a frame and a shadow.

When to use it: A white frame looks like a printed photo.

Heading

What it does: Left or centre, its size, your site's font, serif, narrow or mono, and italic.

When to use it: A narrow bold heading suits a gym.

Seasonal look

What it does: Small holiday touches: Christmas, New Year, Black Friday, Halloween and more. Auto switches on its own around each holiday.

When to use it: A festive touch for a few weeks a year.

5. Settings

Button

What it does: None, one under everything, or one under each pair. It opens one of your forms in a popup, or goes to a page, an email or a phone number. Until you pick one, the button shows in the editor but not on your site.

When to use it: Book a consultation right beside the result.

Button opens a popup

What it does: The button can open one of your Popup widgets instead of a link: choose the popup and pick it. A click always opens it. It needs the script code, not the iframe code. For your own CSS or code, the button has the class wpop-cta.

When to use it: Show an offer or a sign-up without leaving the page.

Leads from the button

What it does: What visitors send through the form lands in Leads, with the title of the pair they looked at, and you get an email as the form is set.

When to use it: Know which result made them ask.

Open a pair full screen

What it does: A button on each photo opens it big over the page, with arrows to the others. Esc closes it.

When to use it: Details show better on a big screen.

Words visitors see

What it does: The word on the Drag tag and what screen readers hear for the slider.

When to use it: Your site's own language.

Numbers

What it does: Views, how many visitors moved the line, the pairs moved most, opened full screen, button presses and leads, for the last 30 days. Also on the Analytics page.

When to use it: See which result people look at most.

Powered by WidgetPop

What it does: A small link under the widget. The Free plan always shows it; on a paid plan it is hidden unless you turn it on.

When to use it: Keep only your brand on a paid plan.

Custom CSSPaid plans

What it does: Your own CSS rules for this widget. Its classes start with .wpop-ba.

When to use it: For an exact look the editor does not offer.

For every visitor

  • Keyboard: Tab to the line, then the arrow keys (Shift for bigger steps), Home and End.
  • Screen readers hear the slider's name, your photo descriptions, and how much of each photo shows.
  • Visitors who turn motion off see no nudge and no sweep.
  • On phones, moving the line never stops the page from scrolling.
  • Photos load only when visitors scroll to them.

Add it to your website

In the Install tab, add your website's address under Allow your website, copy the code and paste it where the slider should appear. The iframe code works on every plan; the script code is part of the paid plans. Every change you save shows on your site by itself.

About this widget

Related guides

Still need help?

Tell us what you're trying to do. A real person replies, usually within one working day.

Email support