# Image comparison slide

The **Image comparison slide** section allows users to display two images side by side for a visual comparison. Users can slide between the images to see differences or changes, making it ideal for before-and-after scenarios or showcasing variations. This interactive feature enhances engagement by providing a clear and dynamic way to present changes or options, and it can be customized to fit the specific design and layout of your Shopify store.

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

## Section settings

### General settings

<table data-full-width="false"><thead><tr><th width="143">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Section width</td><td><p></p><p>3 options for container</p><ul><li>Stretch width: span the section width regardless of screen size.</li><li>Fix width: depends on your page content width in <strong>Theme settings</strong> <strong>-></strong> <strong>Layout</strong>.</li><li>Expand full width: takes up the entire space on the page and it usually resizes itself to fit the size of the screen.</li></ul></td></tr><tr><td>Color scheme</td><td>Select colors from <strong>Theme settings -> Colors</strong></td></tr><tr><td>Heading</td><td>The title of the section</td></tr><tr><td>Description</td><td>The description of the section</td></tr><tr><td>Content alignment</td><td><p>The position of the heading and description.</p><ul><li>Left</li><li>Center</li><li>Right</li></ul></td></tr></tbody></table>

### Image options

<table data-full-width="false"><thead><tr><th width="143">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Image before</td><td>Displays the initial state for comparison</td></tr><tr><td>Image after</td><td>Shows the state after changes are applied</td></tr><tr><td>Text left</td><td>Provides context or details on the left side</td></tr><tr><td>Text right</td><td>Offers additional information on the right side</td></tr><tr><td>Image ratio</td><td><p>"Image ratio" refers to the proportional relationship between the width and height of the image.</p><p>5 options for image ratio</p><ul><li>Adapt to first image</li><li>Square (1:1)</li><li>Portrait (3:4)</li><li>Landscape (4:3)</li><li>Custom</li></ul></td></tr><tr><td>Custom ratio</td><td>Where you can add your own image ratio</td></tr></tbody></table>

### Section padding

* **Top padding:** Customize the top margin of the section
* **Bottom padding:** Customize the bottom margin of the section

## Theme block

### Content

<figure><img src="/files/1LoC91spQMjZPwT9r5hU" alt=""><figcaption></figcaption></figure>

#### Heading, Subheading, Description

<table data-full-width="false"><thead><tr><th width="143">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Heading, Subheading, Description</td><td>Custom content block</td></tr><tr><td>Size</td><td>The size of content block</td></tr><tr><td>Spacing bottom</td><td>Spacing between the content and the next component</td></tr></tbody></table>

#### Product

<table data-full-width="false"><thead><tr><th width="143">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Select product</td><td>You can select specific products to display</td></tr><tr><td>Show border top</td><td>Toggle to add a border above the product set for better visual emphasis</td></tr><tr><td>Spacing bottom</td><td>Spacing between the content and the next component</td></tr></tbody></table>


---

# 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://nextsky.gitbook.io/agile-theme/sections/image-comparison-slide.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.
