Before/after image

The Before/after image section allows you to compare two images interactively using a draggable slider. Customers can drag the comparison handle to reveal more or less of each image, making it useful for showing product results, transformations, improvements, or visual differences.

You can display the comparison horizontally or vertically and add captions to clearly identify each image.

1. Section settings

Click the section name to see section settings on the right-hand sidebar.

1.1 Direction

The Direction setting controls how the two images are compared.

1.2 Drag cursor

The Drag cursor settings control the appearance and initial position of the comparison handle.

1.3 Image caption

The caption content itself is configured individually within each Image block.

1.4 Appearance

1.5 Section padding

Use these settings to adjust the spacing around the section and maintain a balanced layout across different screen sizes.

Available options:

2. Container Block - Section header

The Section header container allows you to add introductory content above the Before/After comparison images.

2.1 Block settings

The Section header container includes settings for controlling the content layout.

2.2 Child Blocks

Click Add block inside the Section header container to add content.

The available child blocks include:

Child blocks can be reordered by dragging and dropping them in the Theme Editor.

Note: Child blocks must be added under the Section header container.

3. Image Blocks

The Before/after image section uses two Image blocks to create the comparison.

Each Image block includes the following settings: