Black Friday Up to 50% off every Pro plan. Annual from $24.50, Lifetime from $51.Up to 50% off ProAgency Bundle $449 $1,499 Agency Bundle$1,499 $449 Ends in Getthe deal
Atomic Element · Free

Elementor Before After Image Slider: show the difference

A renovation, a retouch or a redesign is easier to believe when visitors drag the line themselves. This free Elementor before after slider turns two photos and one draggable divider into a comparison styled like the rest of your Elementor 4 site. It works on Elementor Free.

  • Native Elementor 4 Atomic Element
  • Horizontal and Vertical presets
  • Drag, tap, click or arrow keys
  • No slider library

Animation Addons 4.3Updated

Demo variations

Five ways to use the Image Compare.

Ideas you can build today with the Image Compare and native Elementor 4 elements. Cards marked Pro add an Animation Addons Pro extension or element; the rest work on the free plugin.

01

A renovation project, before and after

Use the Horizontal preset with your own photos in Before Image and After Image, set Initial Position (%) to 50 and restyle the labels as rounded pills. This is the usual Elementor before after slider for a builder's project page.

02

A retoucher, raw file above and edit below

Apply the Vertical preset (Direction Vertical) and set Initial Position (%) to 30 so most of the edited image shows first. The divider moves up and down, a vertical before after slider in Elementor that suits tall portraits.

03Pro

A web studio showing an old site against the new one

Put the Image Compare in a Flexbox with a Heading and a Paragraph, and turn Enable Click to Move off so a stray click while reading does not jump the divider. The tilt is the Tilt extension (Pro).

04Pro

A staging company with three comparisons in a row

Place three Image Compare elements in an Elementor 4 Grid and give the divider and handle one shared Class so all three match. The card-by-card fade is the Regular Animation extension (Pro).

05Pro

An upholstery workshop, worn chair and restored chair

Use the Horizontal preset, set Initial Position (%) to 45 and edit Before Label and After Label. The heading reveal is the Text Animation extension (Pro).

Features

What you get with the Image Compare.

Every option below is a real control in the image compare widget for Elementor or part of how it renders. Nothing here needs custom code.

Horizontal or vertical

Direction switches between a left-right and a top-bottom split; cursor and handle orientation follow.

Choose where the divider starts

Initial Position (%) places the divider anywhere from 0 to 100, so you can lead with the image you want seen first.

Click to jump, or drag only

With Enable Click to Move on, a click moves the divider to that spot. Turn it off in busy layouts so only deliberate drags count.

Labels that get out of the way

Before Label and After Label fade when the divider gets close to them, so they never sit on top of the handle.

Every part is a real element

Images, divider, handle, handle icon and labels are separate children with their own Style panels. Rename labels, swap the handle icon, or delete what you don't need.

Two presets

Apply Preset offers Horizontal and Vertical; a fresh drop lands on Horizontal with sample photos.

Built on the atomic base

How the Image Compare is built

Why it mattersThe photos are standard Elementor 4 Image elements with alt text from the Media Library, and one Class can make every comparison on the site match.

StructureNavigator
  • Image CompareDirection, Initial Position, Enable Click to Move
    • Before ImageImage
    • After ImageImage
    • Divider
    • HandleDiv Block
      • Handle IconSVG
    • Before LabelParagraph
    • After LabelParagraph
Step by step

How to add a before after slider in Elementor

Six steps, from installing the plugin to publishing the page. The bold names are the exact labels you will see in the Elementor 4 panel.

Try Animation Addons
  1. Install Animation Addons for Elementor and open a page with the Atomic Editor on.

  2. Drag Image Compare onto the canvas. It lands with the Horizontal preset and sample photos.

  3. Optional: Apply Preset → Vertical.

  4. Select Before Image in the Navigator and choose your first photo, then After Image. Use two images with the same dimensions.

  5. Set Direction, Initial Position (%) and Enable Click to Move.

  6. Edit the labels, style the handle and divider, preview on mobile and publish.

Who it's for

Who uses the Image Compare?

The people who get the most out of it, and what they use it for.

  • Renovation, detailing and cleaning businesses

    Proving the quality of their work.

  • Photographers and retouchers

    Showing raw against edited files.

  • Agencies and product teams

    Presenting redesigns.

FAQ

Questions about the Image Compare

How do I add a before after slider in Elementor?

Install the free Animation Addons for Elementor plugin and drag the Image Compare element onto your page. Choose your Before Image and After Image from the Media Library, set Direction and Initial Position, and publish. It gives you an Elementor before after slider without Pro, because the Image Compare works on Elementor Free.

Can I make a vertical before after slider in Elementor?

Yes. Set the Animation Addons Image Compare Direction to Vertical, or apply the Vertical preset. The divider then moves up and down instead of left and right, which suits tall portraits, phone screenshots and full-page website captures. Initial Position still sets where the divider starts.

What size should before and after images be?

Before and after photos should share the same dimensions and framing so the divider lines up. Export both at the same width and height and pick the same size for each Image child in the Animation Addons Image Compare. A comparison loads two images, so export them at the width they are shown, not camera size.

Does the slider work on mobile and with a keyboard?

Yes. The Elementor before after slider on mobile responds to touch and pen drags on phones and tablets. It is built on a native range input with the label "Move image comparison slider", so keyboard users can Tab to it and move the divider with the arrow keys, and screen readers announce it as a slider.

Can search engines see both images?

Yes. Both photos in the Animation Addons Image Compare are ordinary image elements in the page HTML, with the alt text you set in the Media Library. Search engines and AI crawlers read them like any other image. Write a short caption or paragraph next to the comparison so the change is described in text too.

How do I stop the slider jumping on click?

Turn off Enable Click to Move in the Animation Addons Image Compare settings. Visitors then move the divider only by dragging, so a click or tap while scrolling does not jump it. Leave the option on when you want a quick click to reposition the comparison.

Can I change the Before and After labels or handle?

Yes. Before Label and After Label are separate text elements, so an Elementor before after slider with labels like "March" and "July" is a rename away, and you can delete them too. The Handle holds a Handle Icon you can replace with your own SVG, and both are styled from their own Style panels.

Is the Elementor image comparison slider free?

Yes. The Animation Addons Image Compare is a free Elementor image comparison slider that works on Elementor Free, with no Elementor Pro needed. Only the extras shown in the Pro demos, Tilt, Regular Animation and Text Animation, need Animation Addons Pro. The slider itself, its labels and its handle are all in the free plugin.

Is there a before and after slider for Elementor 4?

Not in core. Elementor Free 4.3.3 ships no before/after element, so Animation Addons adds one as a native Atomic Element called Image Compare. It is an Elementor 4 before after slider that uses your Classes and Variables, unlike a classic v3 addon widget running inside the new editor.

How is it different from a classic before after addon?

A classic addon is a v3 widget running inside the new editor, so it does not use Elementor 4 Classes and Variables. The Animation Addons Image Compare is a native Atomic Element made of separate children (images, divider, handle, labels), so each part has its own Style panel and one Class can make every comparison match.

More answers in the FAQ · Documentation · Free vs Pro

Animation Addons Pro · Elementor 4

Show the change, not just the result

A free, native Elementor 4 before/after slider that follows your design system.

Black Friday dealup to 50% off every Pro planEnds 10 Dec

  • 15-day money-back guarantee
  • Rated 4.6 / 5 on WordPress.org
  • No Elementor Pro needed
  • Elementor 3 & 4 in one license