# Comparison gallery ![image](https://docs-assets.foxecom.app/pebble-theme/Fox-BG%20Light%20\(8\)_8LbSrHff.jpg) Prove your product works with before-and-after images: customers drag a slider to compare the two images, then read the key benefits and shop the product. Add several products, and customers switch between them with the thumbnails. ## How to customize the Comparison gallery section 1. Open the page where you want to display the section in the theme editor by clicking **Edit theme**. 2. Click **Add section**. 3. Select **Comparison gallery**. 4. Click a **Product** block. To add another product, click **Add block** under the section and select **Product**. 5. Click **Select** next to **Product** and choose the product to feature. 6. Click **Image – Before** inside **Image comparison**. 7. Click **Select** next to **Image** to add the before image. 8. Click **Image – After** inside **Image comparison**. 9. Click **Select** next to **Image** to add the after image. 10. Click each **List item** inside **Icon list** to edit the product benefits. 11. Repeat steps 4–10 for each product. 12. Click the **Header** block to edit the heading content. 13. Click **Save**. ## Section settings ### Appearance Controls the visual style of the section. | Setting | Description | Options | | ------------------ | ----------------------------------------------------------------------------------------------------------------- | :---------------------------------------------------------------------- | | **Color scheme** | Applies a theme color scheme to the section. Learn more in [Colors](https://docs.foxecom.com/pebble-theme/theme-settings/colors). | Select an available color scheme. | | **Border** | Controls whether the section has an outline. | **None** or **Solid**. | | **Border width** | Controls the thickness of the section border. | **0–10px**.

*Available when **Border** is set to **Solid**.* | | **Border opacity** | Controls the opacity of the section border. | **0–100%**.

*Available when **Border** is set to **Solid**.* | | **Corner radius** | Controls how rounded the section corners appear. | **0–32px**. |
### Padding Controls the top and bottom spacing separately for desktop and mobile. | Setting | Description | Options | | ----------- | ------------------------------------------------------------- | :------------------------- | | **Devices** | Selects which device-specific padding values you are editing. | **Desktop** or **Mobile**. | | **Top** | Controls the space above the section content. | **0–100px**. | | **Bottom** | Controls the space below the section content. | **0–100px**. |
## Blocks The section includes one **Header** block and multiple **Product** blocks. ### Header ![image](https://docs-assets.foxecom.app/pebble-theme/image_mZ2d9tFM.png) The **Header** block holds the heading content above the product details. | Setting | Description | Options | | ------------- | ------------------------------------------------------------- | ------------------------------- | | **Alignment** | Sets the alignment of the header content. | **Left, Center,** or **Right**. | | **Devices** | Selects which device-specific padding values you are editing. | **Desktop** or **Mobile**. | | **Bottom** | Controls the space below the header. | **0–100px**. |
The default **Header** includes **Subheading** and **Heading** blocks. To add more, click **Add block** inside the **Header** and select one of these blocks: * [**Heading**](https://docs.foxecom.com/pebble-theme/theme-blocks/text): Displays the main title of the section. * [**Subheading**](https://docs.foxecom.com/pebble-theme/theme-blocks/text): Displays a short line above or below the heading. * [**Text**](https://docs.foxecom.com/pebble-theme/theme-blocks/text): Displays additional descriptions or details. * [**Image**](https://docs.foxecom.com/pebble-theme/theme-blocks/image): Displays an image or icon. * [**Button**](https://docs.foxecom.com/pebble-theme/theme-blocks/button): Displays a call-to-action button. ### Product ![image](https://docs-assets.foxecom.app/pebble-theme/image_CYiF8FU6.png) Each **Product** block adds one product to the gallery, with its own before-and-after images, title, benefits, and button. | Setting | Description | Options | | ----------- | -------------------------------------------------------------------------------------------------- | --------------------------------- | | **Product** | Selects the product shown in this block. Nested blocks such as **Product title** use this product. | Select a product from your store. |
The default **Product** block includes **Image comparison**, **Product title**, **Icon list**, and **Button** blocks. To add more, click **Add block** inside the **Product** block and select one of these blocks: * [**Image comparison**](https://docs.foxecom.com/pebble-theme/theme-blocks/image-comparison): Displays the before and after images with a slider. It holds two **Image** blocks, **Image – Before** and **Image – After**, each with its own image, mobile image, heading, and color scheme. * **Product title**: Displays the title of the selected product. * [**Icon list**](https://docs.foxecom.com/pebble-theme/theme-blocks/icon-list): Highlights key product benefits, with one **List item** block per row. * [**Button**](https://docs.foxecom.com/pebble-theme/theme-blocks/button): Displays a call-to-action button. By default, it links to the selected product. * [**Heading**](https://docs.foxecom.com/pebble-theme/theme-blocks/text): Displays a main title. * [**Subheading**](https://docs.foxecom.com/pebble-theme/theme-blocks/text): Displays a short line above or below the heading. * [**Text**](https://docs.foxecom.com/pebble-theme/theme-blocks/text): Displays additional descriptions or details. ![image](https://docs-assets.foxecom.app/pebble-theme/image_CRg4mA9z.png) ![image](https://docs-assets.foxecom.app/pebble-theme/image_VYMtNXbl.png) ![image](https://docs-assets.foxecom.app/pebble-theme/image_6OOJJFZI.png) ![image](https://docs-assets.foxecom.app/pebble-theme/image_Ca7jgRRz.png) ![image](https://docs-assets.foxecom.app/pebble-theme/image_QYWDtr92.png) To remove a product, open its **Product** block and click **Remove block**. ### Product title The **Product title** block displays the title of the product selected in its **Product** block. | Setting | Description | Options | | ------------ | ------------------------------------------------------------------------------------------ | ------------------------ | | **Preset** | Sets the typography style of the title. | Choose a preset style | | **HTML tag** | Sets the HTML tag of the title, which search engines use to understand the page structure. | Choose a html tag | | **Color** | Sets the color of the title. | **Text** or **Subtext**. | | **Top** | Controls the space above the title. | **0–100px**. | | **Bottom** | Controls the space below the title. | **0–100px**. | | **Left** | Controls the space to the left of the title. | **0–100px**. | | **Right** | Controls the space to the right of the title. | **0–100px**. |
The **Button** link uses the product selected in the **Product** block. Select a product in each **Product** block, otherwise the **Link** setting of the button shows **No closest product set**. ## Tips and best practices * Use before and after images with the same subject, angle, and lighting so the difference is easy to see. * Keep each **List item** short and focused on one benefit.