Skip to content

🎁 BFCM is live! Save up to 30% on EComposer and unlock a free Feature Pack. Explore deals

🎁 The4 BFCM: 15% off Athora & Vetro + free homepage setup & 6 months of EComposer Standard free. See the deal

4.93,472 reviews on the Shopify App Store Install free New to Shopify?Open your store

Image Comparison

An image comparison section (often called a “before and after” slider) is a highly interactive website element that lets users drag a slider across two overlapping images. It is frequently used to showcase product transformations, AI-generated art, photo edits, or renovation results. With this feature, you can catch your customers’ attention and enhance your store’s visual appeal in minutes.

Image Comparison — Overview (Screenshot 1)

1. How to add an Image Comparison

Drag and drop an “Image Comparison” element from the list of available elements on the left-hand side into the page content.

Image Comparison — 1. How to add an Image Comparison (Screenshot 1)

Now you can start configuring that element. The main option is to select the two Before/ After images.

Image Comparison — 1. How to add an Image Comparison (Screenshot 2)

2. How to configure Overlay

When your consumer hovers over the image comparison, a black cover effect will be visible. To enable this effect, please tick this Overlay box firstly:

Image Comparison — 2. How to configure Overlay (Screenshot 1)

Then you change the overlapping texts here:

Image Comparison — 2. How to configure Overlay (Screenshot 2)

You can change the color of the overlay under Design tab as well.

Image Comparison — 2. How to configure Overlay (Screenshot 3)

You can also alter the font, colour, text shadow, and many other aspects of the overlay text.

Image Comparison — 2. How to configure Overlay (Screenshot 4)

Additionally, Spacing bar & Spacing icon permit changing the colour, box shadow, and, most importantly, the size of the icon and bar.

Image Comparison — 2. How to configure Overlay (Screenshot 5)

Last updated

Was this page helpful?