Two images, one on top of the other, with a divider to drag across: a renovation, a retouched photo, a redesign. Here, our own widgets: light against dark, and one design against another.
Horizontal or verticalDrag, follow the mouse or clickLabels always, on hover or hiddenCrop to a shapeKeyboard and screen readersRight to leftNo library
Design
The default: white cards with a thin border, generous rounded corners and a soft shadow, pill-shaped controls, and pale tints of the accent.
Light
Dark
Light
Dark
Dark colour scheme
The same design with the Dark colour scheme, for dark sections and dark sites.
Light
Dark
Light
Dark
Design
Drawn with lines: framed cards with small corners, outlined buttons, labels and badges, and the accent in the lines.
Light
Dark
Light
Dark
Dark colour scheme
The same design with the Dark colour scheme, for dark sections and dark sites.
Light
Dark
Light
Dark
Design
Flat filled shapes: cards in a pale tint of the accent with no border and a small lift in the light scheme, solid buttons and markers, and the highlighted part filled with the accent.
Light
Dark
Light
Dark
Dark colour scheme
The same design with the Dark colour scheme, for dark sections and dark sites.
Light
Dark
Light
Dark
More options
Soft before, Solid after, following the mouse: move across the picture and the divider comes along. Here in Outline, with a blue accent.
Soft
Solid
Both images cropped to 16:9 from the top of a timeline, the labels at the end, and the divider jumping wherever you click or tap.
Light
Dark
Guide
Four steps from an empty page to a finished before/after.
Open a page in Elementor, search the panel for "Before/After" or open the Handy Addons group, and drag the widget onto the page.
Pick the before image and the after image from the media library, and give each a label, such as “Before” and “After”, and alt text if the library has none.
In the Style tab, the Design section sets the design, the colour scheme and the accent colour.
Every colour, font and spacing is a normal Elementor setting, with your global colours and fonts in the pickers.
The widget's settings, tab by tab.
Elementor’s own: margins, padding, position, responsive visibility, CSS classes and attributes, as on any widget.
FAQ
No, but they line up best if they do. With a shape such as 16:9, both are cropped to cover it.
Yes. The divider is a real slider: the arrow keys, Page Up, Page Down, Home and End move it, and a screen reader hears how much of the before image shows.
The comparison, still, at its starting position.
Yes. The before image starts on the right, and the arrow keys follow.
Photos in a grid, masonry or justified rows, with filters, captions and a viewer that opens them full size.
A PDF readable on the page, sharp on any screen, with pages, zoom and full screen, and a plain link when it can't be shown.
An icon, image or number with a title, a description and a link or button, above or beside, in a card that can link as a whole.
Install Handy Addons from WordPress.org, open a page in Elementor, and find them in the Handy Addons group of the panel.
May we count visits with Google Analytics, to learn which pages help? It sets cookies, so it runs only if you agree. Privacy policy