# Comparison gallery

<figure><img src="/files/8LbSrHffhdQ2OuBLA5qZ" alt=""><figcaption></figcaption></figure>

Showcase before-and-after or product differences in a customizable layout to help customers compare and choose easily.

## How to add a Comparison gallery section to your Shopify store

{% hint style="success" %}

1. In the theme editor **(Customize)**, click **Add section.**
2. Select **Comparison gallery** section.
3. Make necessary changes.
4. **Save.**
   {% endhint %}

## How to customize a Comparison gallery section <a href="#how-to-customize-a-banner-with-tabs-section" id="how-to-customize-a-banner-with-tabs-section"></a>

This section includes two main blocks: **Header** and **Product**.

{% tabs %}
{% tab title="Header" %}

<figure><img src="/files/mZ2d9tFMzlctmygenzRI" alt=""><figcaption></figcaption></figure>

The **Header** block lets you introduce the section with titles, text, images, or buttons. Use it to create a strong opening and guide customers through the comparison.

| Setting       | Description                                         |
| ------------- | --------------------------------------------------- |
| **Alignment** | Set the header alignment: left, center, or right.   |
| **Devices**   | Switch between desktop and mobile padding settings. |
| **Bottom**    | Adjust the spacing below the header.                |

<table><thead><tr><th width="155.89990234375">Block</th><th width="215.6544189453125">Description</th><th>Example</th></tr></thead><tbody><tr><td>Subheading</td><td>Provide supporting text above or below the heading</td><td><img src="/files/bl7YyjzfN6e3HXeycolF" alt="" data-size="original"></td></tr><tr><td>Heading</td><td>Add a main title</td><td><img src="/files/XVyv0FGNOyNsqxlSakZX" alt="" data-size="original"></td></tr></tbody></table>

{% hint style="info" %}

#### 📦 Nested dynamic blocks

* **Heading** – Add a main title
* **Subheading** – Provide supporting text above or below the heading
* **Text** – Include additional descriptions or details
* **Image** – Display an image or icon
* **Button** – Add a call-to-action
  {% endhint %}

*Learn more:* [Basic](/pebble-theme/theme-blocks/basic.md)
{% endtab %}

{% tab title="Product" %}

<figure><img src="/files/CYiF8FU6smLkUwGSKzDQ" alt=""><figcaption></figcaption></figure>

The **Product** block displays individual items with customizable content such as image comparison, product title, features, and call-to-action, helping highlight key benefits and differences.

<table><thead><tr><th width="141.9110107421875">Block</th><th width="247.8656005859375">Description</th><th>Example</th></tr></thead><tbody><tr><td><strong>Product</strong></td><td>Showcase product</td><td><img src="/files/CRg4mA9zkmrexguPy4K8" alt="" data-size="original"></td></tr><tr><td><strong>Image comparison</strong></td><td><p></p><p>Display before &#x26; after images with an interactive slider. Learn more: <a data-mention href="/pages/Je2j8VQFFrujz0gUuISl#image-comparison">/pages/Je2j8VQFFrujz0gUuISl#image-comparison</a></p></td><td><img src="/files/VYMtNXbll2TP2j4V3jsN" alt="" data-size="original"></td></tr><tr><td><strong>Product title</strong></td><td>Show the product name</td><td><img src="/files/6OOJJFZIAwqSTPlrofIU" alt="" data-size="original"></td></tr><tr><td><strong>Icon list</strong></td><td>Highlight key features with icons. Learn more: <a data-mention href="/pages/Je2j8VQFFrujz0gUuISl#icon-list">/pages/Je2j8VQFFrujz0gUuISl#icon-list</a></td><td><img src="/files/Ca7jgRRzlSFq8mjzS22i" alt="" data-size="original"></td></tr><tr><td><strong>Button</strong></td><td>Add a call-to-action</td><td><img src="/files/QYWDtr92PjoMpbSN9PtL" alt="" data-size="original"></td></tr></tbody></table>

*Learn more:* [Basic](/pebble-theme/theme-blocks/basic.md)
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.foxecom.com/pebble-theme/theme-sections/comparison-gallery.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
