# Before After Section

The **Before/After section** is an interactive visual component that allows users to compare two images by sliding between them. It is commonly used to showcase **transformations, improvements, or results**.

This section enhances user engagement by providing a **side-by-side comparison in a single interactive view**.

1. **Go to** Shopify Admin > **Online Store > Themes**.
2. Click **Edit Theme** on your active theme.
3. In the Theme Editor, click **Add Section >** Before After Section.

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

|                        |                                                                                     |
| ---------------------- | ----------------------------------------------------------------------------------- |
| Expand to full width   | Enable for full width view. (Controls the container width)                          |
| Color Scheme           | Select any color scheme defined in the theme settings > Colors > Schemes.           |
| <h4>Before Image</h4>  |                                                                                     |
| Image                  | Choose the image for the before image.                                              |
| Before Label           | Type the label you like to display.                                                 |
| <h4>After Image</h4>   |                                                                                     |
| Image                  | Choose the image for the after image.                                               |
| After Label            | Type the label you like to display.                                                 |
| Product                | Choose the product for the section.                                                 |
| Content Alignment      | <p>Choose content alignment.</p><ul><li>Left</li><li>Center</li><li>Right</li></ul> |
| <h4>Section Space</h4> |                                                                                     |
| Top space              | Adjust top spacing for the section.                                                 |
| Bottom space           | Adjust the bottom spacing for the section.                                          |


---

# 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://wedesigntech-1.gitbook.io/elegance/section/before-after-section.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.
