TessaroDocumentationTessaro handbook
Section library / Reference

Comparison slider

Compare two images with an interactive before/after divider.

Try this setup#

Open in the editor Home page → Comparison slider

Help visitors compare two views of the same subject.

  1. Open Comparison slider, select its Image pair block and choose the before and after images.
  2. Use matching dimensions and framing so the divider reveals a useful difference. Write accurate labels for both sides.
  3. Move the handle across the image and try the control with a keyboard. Check the comparison again on a phone.
See the Comparison slider controls
Home page → Comparison slider settings
Section controls in the editor. Image, product or question content may live in the section’s blocks.
Try this setup — Tessaro example
Example layout. Follow the steps above to connect your own content.

What to look for Both images line up, the labels explain the difference and important detail remains visible throughout the movement.

When to use it#

Compare two images with an interactive before/after divider.

Set up#

Add the supported comparison block and connect the before and after images, labels and starting position.

Available from Add section where supported by its template restrictions.

Section settings#

These are schema defaults. Your installed theme or selected preset can use different saved values.

Heading

Heading#

Adjust this control in the theme editor and preview the result in the relevant template.

Control
text
Default
See the difference

Subheading#

Adjust this control in the theme editor and preview the result in the relevant template.

Control
text
Default
Not set

Colors

Subheading color#

Adjust this control in the theme editor and preview the result in the relevant template.

Control
color
Default
#806042

Spacing

Margins add space outside the section. Padding adds space inside it.

Margin top (desktop)#

Range: 0–200 px.

Control
range
Default
0

Margin bottom (desktop)#

Range: 0–200 px.

Control
range
Default
0

Padding top (desktop)#

Range: 0–200 px.

Control
range
Default
48

Padding bottom (desktop)#

Range: 0–200 px.

Control
range
Default
48

Margin top (mobile)#

Range: 0–200 px.

Control
range
Default
0

Margin bottom (mobile)#

Range: 0–200 px.

Control
range
Default
0

Padding top (mobile)#

Range: 0–200 px.

Control
range
Default
32

Padding bottom (mobile)#

Range: 0–200 px.

Control
range
Default
32

Blocks#

Add, reorder and configure the supported blocks in the editor. Some block types have an individual limit.

Image pair#

Before image#

Adjust this control in the theme editor and preview the result in the relevant template.

Control
image picker
Default
Not set

After image#

Adjust this control in the theme editor and preview the result in the relevant template.

Control
image picker
Default
Not set

Before label#

Adjust this control in the theme editor and preview the result in the relevant template.

Control
text
Default
Before

After label#

Adjust this control in the theme editor and preview the result in the relevant template.

Control
text
Default
After
Tessaro documentation · Setup guides and settings reference

Search guides, settings and sections.