Documentation

Add a before/after slider and a comparison table

Show your product's effect with a before/after slider, and compare it to the competition or to your other products in a clear table.

Two arguments win a visitor over fast: seeing your product's results, and understanding at a glance why to pick it over another one. The Story Theme includes both, with no app: a Before / after slider and a Comparison table. For details on every setting, see also the Before / after section and the Comparison table section.

Add a before/after

Visitors drag a slider to reveal the "after" image over the "before" image.

The before/after slider on the Sylys demo store, with the labels "Sourcil nu" (bare brow) and "Après le crayon" (after the pencil)
The before/after slider on the Sylys demo store, with the labels "Sourcil nu" (bare brow) and "Après le crayon" (after the pencil)
  1. In Online Store > Themes, click Edit theme, then open the page you want (for example Home page).
  2. Click Add section, Media category, then choose Before / after (with a heading above) or Transformation (the slider next to a text).
  3. Click the Before / after block in the left column.
  4. Choose the Image before and the Image after.
  5. Fill in the Before and After labels (for example "Without" and "With"), then their Position: Top or Bottom.
  6. Click Save.
A before/after placed next to a text on the Sylys demo store: the slider on the left, the heading, selling points and button on the right
A before/after placed next to a text on the Sylys demo store: the slider on the left, the heading, selling points and button on the right
Screenshot to take — Theme editor > Home page > Before / after section > "Before / after" block selected, settings panel open on the right (Image before, Image after, Labels group visible)

Useful settings

SettingWhat it does
DirectionHorizontal (the slider moves left to right) or Vertical (top to bottom).
Image heightAdapt to image, or a fixed format: Small, Medium, Large, Square, Portrait, Landscape.
Start positionWhere the slider sits when the page loads (50% by default, in the middle).
Move the handle when it comes into viewThe slider moves on its own for a moment, to show that it can be dragged.
Customize colorsChanges the Divider color, the Handle background and the Arrows color.

On mobile, the slider moves above the text and keeps the full width of the screen:

The same before/after on mobile, Sylys demo store: the slider at full width, the text below
The same before/after on mobile, Sylys demo store: the slider at full width, the text below

The Before / after block can also be added inside another section, for example on the product page: click Add block and search for "Before / after". See media blocks.

Add a comparison table

The table shows your columns (your product, a competitor, your other plans) and rows of features with checkmarks, crosses or text.

A three-column comparison table, with the "Duo" column highlighted and the "Le plus choisi" (most popular) badge
A three-column comparison table, with the "Duo" column highlighted and the "Le plus choisi" (most popular) badge
  1. In the theme editor, click Add section, Selling points category.
  2. Choose Us vs them (your brand against the others) or Product comparison (your products against each other).
  3. Expand the Comparison table block: it contains two groups, Columns and Rows.

Set up the columns

Each Column block is a column of the table. You can have up to five.

  1. Click a Column.
  2. Choose a Product: its name, image, price and button link fill in automatically. Otherwise, enter a Name and choose an Image.
  3. Check Highlight this column on your column, and add a Badge text if you like (for example "Most popular"). If you leave the Name empty on the highlighted column, your store name is shown.
  4. In the Button group, fill in Button label and Link.
A comparison table on the Lumyx demo store: the product's column highlighted with its badge, image and button, against two alternatives
A comparison table on the Lumyx demo store: the product's column highlighted with its badge, image and button, against two alternatives

Set up the rows

Each Row block is a feature being compared.

  1. Click a Row and enter its Label (for example "Free shipping").
  2. Add an Information text if the row deserves an explanation: it shows in a tooltip.
  3. In Value 1, Value 2, etc., choose the Type for each column, in column order: Checkmark, Cross, Partial, Custom (an icon of your choice) or Text.
  4. To split the table into parts, set the row's Type to Category title.
The Us vs them variant: checkmarks, a dash for "Partial", crosses, and an information icon next to the labels that have an information text
The Us vs them variant: checkmarks, a dash for "Partial", crosses, and an information icon next to the labels that have an information text
Screenshot to take — Theme editor > Comparison table section > Comparison table block > Rows > a "Row" selected, panel open on Label, Information text and the Value 1 group

The table's appearance

Click the Comparison table block itself to set:

  • the Style: Minimal, Striped rows or Card;
  • the Sticky header, which keeps the column names visible when the table is long;
  • the Mobile layout: Swipe sideways, or Highlighted column against another one (the customer picks the column to compare with yours);
  • the style of the highlighted column (Tint, Solid or Outline) and the button position (Top or Bottom).
On mobile, with the Highlighted column against another one layout: the customer picks LED strip or RGB lamp under "Compare with" (Lumyx demo store)
On mobile, with the Highlighted column against another one layout: the customer picks LED strip or RGB lamp under "Compare with" (Lumyx demo store)
The same block in the Hopla demo store's colors: highlighted column in a pink tint and a rounded button
The same block in the Hopla demo store's colors: highlighted column in a pink tint and a rounded button

The Comparison table block is one of the selling point blocks: it can also be added to any composed section.

Frequently asked questions

Can I put the table on the product page?

Yes. On the product template, click Add block in the Product page section and search for "Comparison table". See Structure of the product page.

My before/after slider doesn't show

Check that both images are selected. As long as one image is missing, the theme shows an illustration instead.

Learn more