ES Before & After Compare documentation Comparison Direction & Appearance | ES Before After

Open the module's Appearance tab to control how the comparison behaves and looks.

Appearance settings showing comparison direction, display aspect ratio, image fitting, alignment and maximum display width

Comparison direction

Left / right places the two images side by side behind a vertical divider. Moving the divider horizontally changes the visible portion of the Before image.

Top / bottom uses a horizontal divider. Moving it vertically changes the visible portion of the Before image.

Left / right example

Example of a left-to-right before and after comparison with the Before and After labels visible

Top / bottom example

Top to bottom comparison showing the Before area above and the After area below the horizontal separator

Initial slider position (%)

Enter a value from 0 to 100. At 50, the initial comparison shows approximately half of each image. The percentage controls how much of the Before image is visible when the module loads; visitors can change it interactively.

Display before/after labels

Use this switch to show or hide the two badges. The label text itself is configured in the Module tab.

Style, color and CSS class

  • Style: choose Soft corners, Minimal or High contrast.
  • Divider and handle color: choose the accent color used for the comparison line and handle.
  • Custom CSS class: optionally add your own class names for site-specific styling.

These options adjust the presentation of the module without changing its source images. The styles belong to the module, not Joomla's separate module chrome setting.

For mobile-specific interaction details, see Accessibility, Keyboard & Touch.