In the theme editor: Customize›Home page›Add section›Before and after
Before and after
Two pictures of the same thing with a line between them that customers drag, for example before and after a treatment or a process.
Use two pictures taken from the same angle and size, so only the change moves. The line also works with the keyboard.
Settings
Image
- Before image
- ImageUse the same framing as the main image, so the line compares two states of the same thing.
- After image
- Image
- Before label
- TextEmpty: “Before”.
- After label
- TextEmpty: “After”.
- Image focus
- Choice: The image's focal point, Center, Top, BottomDefault: The image's focal point
- Image shape on a computer
- Choice: Portrait (4:5), Tall (2:3), Square, Landscape (3:2)Default: Portrait (4:5)
- Image shape on a phone
- Choice: Same as on a computer, Portrait (4:5), Square, Landscape (3:2)Default: Same as on a computer
Text
- Small line above the heading
- On or offDefault: On
- Small line
- TextLeave empty to show the default.
- Heading
- TextLeave empty to show the default heading.
- Heading size
- Choice: Medium, Large, Extra largeDefault: Large
- Paragraph
- TextLeave empty to show the default text.
Button
- Show a button
- On or offDefault: On
- Button text
- TextLeave empty to show the default text.
- Button link
- LinkLeave empty to open the all products page.
- Glass button
- Slider, 0 to 90 %Default: 0 %0: a regular solid button. Above 0: dark translucent glass with a thin light edge, for a button on a picture. Higher is darker.
Layout
- Image side
- Choice: Automatic: opposite the section above, At the start (right, in Hebrew), At the end (left, in Hebrew)Default: Automatic: opposite the section aboveWhere the image sits next to the text, on a computer or a tablet. Automatic: when the section above also has an image beside text, the image goes on the other side, so consecutive sections alternate; otherwise it sits at the start (right, in Hebrew).
- Order on a phone
- Choice: Image first, Text firstDefault: Image first
- Text alignment
- Choice: Start, Center, EndDefault: Start
- Text position next to the image
- Choice: Top, Middle, BottomDefault: MiddleOn a computer or a tablet.
Something here doesn’t match what you see in your editor? Tell us and we will fix the guide.
