SScale Themedocs

Image comparison section with 4 variants - interactive slider, stacking, overlay, and center features.

Before / After

The Before / After section allows you to compare two images (before/after) in an interactive way. With 4 different display modes, it adapts to any type of comparison: product transformation, skincare results, renovation, photo retouching, etc.

4 Variants

VariantDescriptionIdeal for
SliderDraggable cursor to reveal the imageDirect comparisons, transformations
StackedStacked images with before/after navigationElegant presentations, testimonials
OverlayImage revealed on hover/tapDramatic effects, surprises
Center FeaturesCentral slider + features on each sideProduct pages, showcasing benefits

Main Settings

Images

SettingDescriptionDefault
Before imageLeft / bottom image-
After imageRight / top image-
Image ratioImage proportionsAdapt / Square / Landscape / Wide / 16:9 / Portrait / Portrait Tall
Image shapeImage edgesSquare / Rounded / Circle

Labels

SettingDescriptionDefault
Show labelsShow Before/After labelsOff
Before labelLeft label text"Before"
After labelRight label text"After"

Slider (Slider and Center Features modes)

SettingDescriptionOptionsDefault
Initial positionCursor position on load10-90%50%

Stacked (Stacked mode)

SettingDescriptionOptionsDefault
LayoutContent layoutWith content / Full widthWith content
ArrangementImage arrangementSide by side / Diagonal / Diagonal reverseSide by side
RotationImage tilt0-15deg5deg
OffsetOffset between images0-100px20px
ArrowsShow navigation arrowsOn / OffOn
Before textText on the before arrow"Before"
After textText on the after arrow"After"

Overlay (Overlay mode)

SettingDescriptionOptionsDefault
Reveal directionDirection of the hover effectLeft / Right / Top / Bottom / FadeLeft
Show indicationHover/tap indication textOn / OffOn
Hover textMessage for desktop"Hover to reveal"
Tap textMessage for mobile"Tap to reveal"

Available Blocks

Content Blocks (Slider, Stacked, Overlay modes)

BlockDescription
HeadingMain section title
TextDescriptive paragraph
ButtonCTA button
TestimonialCustomer quote with author
Icon ListBenefits list with icons

Feature Block (Center Features mode)

FieldDescription
IconMaterial Design icon
Custom iconImage to replace the icon
TitleFeature name
DescriptionDescriptive text
Icon colorAccent 1 / Accent 2 / Foreground / Custom
ColumnLeft or Right (determines which side of the slider the feature appears on)

Use Cases

Skincare / Beauty Results

  • Slider mode with initial position at 30% (shows more of the "before" image)
  • Labels enabled: "Before treatment" / "After 4 weeks"
  • Blocks: Heading + Text + Button to the product
  • Portrait image ratio for face photos

Renovation / Interior Design

  • Stacked mode with Diagonal arrangement
  • Rotation at 5deg for a dynamic effect
  • Testimonial block with customer review
  • With content layout for context

Technical Comparison

  • Center Features mode with 3-4 features per side
  • Left column: limitations of the old product
  • Right column: advantages of the new product
  • Slider position at 50% for a balanced comparison

Product Teasing

  • Overlay mode with Fade direction
  • "Before" image = silhouette or teaser
  • "After" image = revealed product
  • Indication enabled: "Hover to discover"
💡For Slider mode, adjust the initial position to guide attention: at 30%, the user sees mostly the "before" image and is encouraged to slide to discover the "after." This is more engaging than a 50/50 split.
⚠️Use images with the same dimensions for both photos (before/after). Images of different sizes can create visual misalignment, especially in Slider mode. The Adapt ratio uses the "before" image dimensions as reference.
ℹ️The Center Features mode is unique to Scale Theme. It combines the visual power of comparison with a structured presentation of benefits -- perfect for product pages or conversion landing pages.