The Image comparison (blocks) preset is a prebuilt layout in Flexible content. Let customers compare before-and-after images using an interactive divider.
Available in Be Yours 10.0.0 or later. The preset is optional and does not change existing pages unless you add it.
STEPS:
1. Add the Image comparison (blocks) Preset
- From Shopify admin, open Online Store > Themes and click Customize.
- Open the template where you want to display the content.
- Select Add section and open the Flexible category.
- Choose Image comparison (blocks).
- Edit the preset's blocks and click Save.

Note: Choose the preset when adding the section. It creates a Flexible content section with ready-made blocks; you can then customize those blocks.
2. Understand the Preset Structure
The starting layout contains:
- Heading
- Before / after comparison block

You can edit and rearrange the nested blocks in the Theme Editor.
3. Configure the Content
- Select Before / after and upload Before image and After image.
- Edit Before label and After label.

- Choose a Horizontal or Vertical layout.
- Adjust the divider and optional badge settings.
Add more blocks
- Select the Flexible content section, or a container block such as Row, Grid, Group, Banner, or Slider.
- Click Add block, choose the block you want, then configure its settings.
- Drag blocks to rearrange them. You can add or remove blocks beyond the preset's starting layout.

Available blocks in Be Yours 10.0.0
| Category | Blocks |
|---|---|
| Text and actions | Subheading, Heading, Jumbo text, Text, Button, Popup link |
| Media and visuals | Image, Video, Video card, Banner, Before / after, Logo, Icon |
| Products and information | Product card, Collection products, Collection card, Blog posts, Countdown, Spec |
| Layout and structure | Row, Grid, Group, Slider, Tabs, Accordion, Spacer, Divider |
| Promotion and utilities | Marquee, Testimonial, Newsletter form, Menu, Social icons, Payment icons, Custom Liquid |
Nested blocks: Tabs contains Tab blocks, and Accordion contains Accordion item blocks. Select an individual Tab or Accordion item to add its content blocks. Available choices depend on the selected container and nesting level. Shopify app blocks can also be added where the editor offers them.
4. Configure the Main Settings
| Setting | What it controls |
|---|---|
| Before / after > Layout | Choose Horizontal or Vertical. |
| Before / after > Style | Choose Bold or Light. |
| Before / after > Desktop height / Mobile height | Adjust image presentation. |
| Before / after > Lines | Set the comparison divider color. |
| Before / after > Badge text / Badge icon / Badge position | Add an optional annotation over the images. |

The Flexible content section itself also supports Color scheme, Desktop content alignment, Mobile content alignment, Make section narrow, Make section full width, Section height, Background image, Overlay opacity, Show section divider, and Top/Bottom padding.

5. Notes and Troubleshooting
- For the clearest comparison, use images of the same subject with similar framing.
- The preset uses a Before / after block; it does not require two separate Image blocks.
- If something does not appear, check that the relevant block has content and is not hidden.
- For mobile layouts, review the parent Row/Grid/Slider settings where applicable and preview the page in mobile mode.
- If highlight styling is enabled, select the words to highlight and click the italic (I) button in the text editor.
Need Further Assistance
If you encounter any issues or need additional help with your Be Yours theme, please reach out to our support team via our Ticket System for assistance within 8 hours.

بانٹیں:
Flexible content section in Be Yours - Rich text (blocks) Preset
Flexible content section in Be Yours - Image with text (blocks) Preset