Elementor Before After Widget
Image comparison slider with a draggable handle.
Part of Xtra Addons for Elementor · free · no Elementor Pro needed
Treatment results
A clinic page: drag the circular handle to compare a smile before and after whitening, with labels pinned to the edges.
Redesign preview
A thin white divider with a small handle and labels centered on the split compare an old and a refreshed website design; it starts at 35%.
Vertical split
A top-to-bottom comparison of two colour themes of the same dashboard, with an amber handle and labels at the top and bottom, on a dark page.
Compare gallery
Three independent sliders in a card grid, each with its own start position and handle colour.
The free Elementor Before After widget for real websites
The Xtra Before After widget is a free Elementor image comparison slider. Two images sit on top of each other and a draggable handle reveals one or the other, so visitors can see a result for themselves instead of reading about it.
Compare left to right or top to bottom, choose where the handle starts (anywhere from 5% to 95%) and show or hide the Before and After labels at the edges or in the centre. Both images always keep the same size and position while you drag, so the comparison stays perfectly aligned.
The slider works with the mouse, with touch and with the keyboard: focus the handle and use the arrow keys. Colours, handle size, divider width, label style, corner radius, border and shadow are all adjustable from the Style tab.
Everything in the Elementor Before After widget
Drag, touch or keyboard
Drag the handle with a mouse or finger, or focus it and press the arrow keys to move the split in small steps.
Horizontal or vertical
Reveal the Before image from the left, or from the top in vertical mode.
Initial position
Start the slider at any position between 5% and 95%, for example to show mostly the result at first.
Aligned layers
The Before image is clipped, never resized, so both images stay exactly aligned at every handle position.
Editable labels
Rename the Before and After labels, place them at the edges or in the centre, or hide them entirely.
Handle styling
Set the handle colour, the circle size and background, its shadow and the width of the divider line.
Image controls
Choose the image size, a maximum height, object fit and position, plus border radius, border and shadow on the whole slider.
Accessible slider
The handle is a keyboard-focusable slider with a label and a live value, and the comparison itself is labelled for screen readers.
31 options to make it yours
These are the real controls you will find in the Elementor panel for the Before After widget.
Content tab
11Images
- Before Image
- Before Label
- After Image
- After Label
- Image Resolution
- Image Dimension
Settings
- Orientation
- Initial Position (%)
- Handle Style
- Show Labels
- Label Position
Style tab
20Handle
- Handle Color
- Handle Circle Size
- Circle Background
- Box Shadow
- Position
- Divider Line Width (px)
Labels
- Typography
- Text Color
- Background
- Padding
- Border Radius
Image
- Max Height
- Fit
- Object position
- Border Radius
- Border Type
- Border Width
- Border Color
- Box Shadow
- Position
Where the Before After widget shines
Treatment and service results
Show clinic, salon or cleaning results as a clear before and after.
Design and redesign showcases
Let prospects drag between an old and a new website, logo or interface.
Photo editing and retouching
Compare an original photo with the edited or colour-graded version.
Product and theme variants
Compare two colourways, themes or finishes of the same product in one block.
How to use the Before After widget in Elementor
Before After compares two images of the same size and framing. Use images with the same dimensions, or let Object Fit crop them to match.
- Drag the Before After widget from the Xtra widgets into a column or container.
- Under Content → Images, choose the Before Image and After Image, edit the Before Label and After Label, and pick an Image Size.
- Under Content → Settings, choose the Orientation (Horizontal or Vertical) and set the Initial Position (%).
- Turn Show Labels on or off and choose the Label Position (Edges or Center).
- Open Style → Handle to set the Handle Color, Handle Circle Size, Circle Background, Box Shadow and Divider Line Width.
- Open Style → Labels for the typography, Text Color, Background, Padding and Border Radius of the labels.
- Open Style → Image to set a Max Height, the Object Fit and Object Position, the Border Radius, Border and Box Shadow.
Before After widget questions
Quick answers about the free Elementor Before After widget.
Is the Xtra Before After widget free?
Yes. Before After is included in the free Xtra Addons for Elementor plugin. You do not need Elementor Pro.
How do I add a before and after slider in Elementor?
Add the Before After widget, choose a Before Image and an After Image under Content → Images, and optionally change the labels and starting position. Visitors drag the handle to compare the images.
Can the slider be vertical instead of horizontal?
Yes. Set Orientation to Vertical under Content → Settings. The Before image is then revealed from the top and the handle moves up and down.
Does it work on mobile and with a keyboard?
Yes. The handle can be dragged by touch, and it can be focused with the keyboard and moved with the arrow keys.
Can I hide the Before and After labels?
Yes. Turn off Show Labels under Content → Settings, or keep them and change the text, position, colours and padding.
Do both images need to be the same size?
They should have the same framing for a clean comparison. The After image sets the height of the slider and the Before image is stretched over it, with Object Fit controlling how it is cropped.
Related Elementor widgets
All 42 widgetsAdd the Before After widget to your site — free.
42 widgets, 47 sections and 10 website kits. No locked features. No account.