# Before/After Image Slider

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

To add this section, please follow below steps:

1. From your Shopify admin, go to **Online Store** **->** **Themes**.
2. Find the theme that you want to edit, and then click **Customize**.
3. Click **Add section** and choose "**Before/After image slider**".

## Section settings

### General

<table><thead><tr><th width="257">Settings</th><th>Meaning</th></tr></thead><tbody><tr><td>Section width</td><td>Select the layout width of the whole section. The options are: <br><br>Default (same as the body width)<br>Width (1170px)<br>Width (1770px)<br>Full width (100% of the viewport width).<br><br><em><mark style="color:orange;">Note: To fit more videos in a row, a wider layout is more appropriate.</mark></em></td></tr><tr><td>Padding for 'full width' option on desktop</td><td>Determine the custom left &#x26; right spacing for full width layout.</td></tr><tr><td>Background color</td><td>Apply the color to the background of the section.</td></tr><tr><td>Background gradient</td><td>Apply the gradient to the background of the section. <br>Background gradient will replace Background Color if any.</td></tr></tbody></table>

### Content

<table><thead><tr><th width="259">Settings</th><th width="489">Meaning</th></tr></thead><tbody><tr><td>Alignment</td><td>Select the position of the content to be either to the left, right or center of its container.</td></tr><tr><td>Subtitle</td><td>Enter the sub-heading for the section.</td></tr><tr><td>Subtitle font size</td><td>Determine the font size for the subtitle text.</td></tr><tr><td>Subtitle font size on mobile</td><td>Determine the font size for the subtitle text on mobile device.</td></tr><tr><td>Subtitle font weight</td><td>Select the font weight for the subtitle text. The options are: Normal, Medium, Semi Bold, Bold, Bolder, Black.</td></tr><tr><td>Subtitle color</td><td>Apply color onto the subtitle text.</td></tr><tr><td>Subtitle top margin</td><td>Determine the spacing of the subtitle from its bottom.</td></tr><tr><td>Subtitle font style</td><td>Select the font style of the subtitle text. The font styles are: Normal, Italic, Oblique.</td></tr><tr><td>Subtitle letter spacing</td><td>Enter the spacing between letters of the subtitle. Note: the recommended unit is em.</td></tr><tr><td>Title</td><td>Enter the title for the section.</td></tr><tr><td>Title font size</td><td>Determine the font size for the title text.</td></tr><tr><td>Title font size on mobile</td><td>Determine the font size for the title text on mobile device.</td></tr><tr><td>Title font weight</td><td>Select the font weight for the title text. The options are: Normal, Medium, Semi Bold, Bold, Extra Bold, Black.</td></tr><tr><td>Title color</td><td>Apply color onto the title text.</td></tr><tr><td>Title top margin</td><td>Determine the spacing of the title from its top.</td></tr><tr><td>Font style</td><td>Select the font style of the title text. The font styles are: Normal, Italic, Oblique.</td></tr><tr><td>Title letter spacing</td><td><p>Enter the spacing between letters of the title. </p><p><br><em><mark style="color:orange;">Note: the recommended unit is em.</mark></em></p></td></tr><tr><td>Maximum title width</td><td>Determine the maximum width of the section title.</td></tr><tr><td>Description</td><td>Enter the description for the section.</td></tr><tr><td>Description font size</td><td>Determine the font size for the description  text.</td></tr><tr><td>Description font size on mobile</td><td>Determine the font size for the description text on mobile device.</td></tr><tr><td>Description font weight</td><td>Select the font weight for the description text. The options are: Normal, Medium, Semi Bold, Bold, Extra bold, Black.</td></tr><tr><td>Description color</td><td>Apply color onto the description text.</td></tr><tr><td>Description top margin</td><td>Determine the spacing of the description from its top.</td></tr><tr><td>Maximum description width</td><td>Determine the maximum width of the section description.</td></tr><tr><td>Letter spacing</td><td>Enter the spacing between letters of the description. Note: the recommended unit is em.</td></tr><tr><td>Button type</td><td>Select the button type of the section. The types are: Button &#x26; Link.</td></tr><tr><td>Button link</td><td>Enter the link for the button to redirect to.</td></tr><tr><td>Button</td><td>Enter the text for the button.</td></tr><tr><td>Button font size</td><td>Determine the font size for the text of the button.</td></tr><tr><td>Button width</td><td>Determine the width of the button.</td></tr><tr><td>Button top margin</td><td>Determine the spacing of the button from its top.</td></tr><tr><td>Text color</td><td>The text color of the button.</td></tr><tr><td>Border color</td><td>The border color of the button.</td></tr><tr><td>Background color</td><td>The background color of the button.</td></tr><tr><td>Background gradient</td><td>The background gradient of the button.</td></tr><tr><td>Text hover color</td><td>The text color of the button for hover state.</td></tr><tr><td>Border hover color</td><td>The border color of the button for hover state.</td></tr><tr><td>Background hover color</td><td>The background color of the button for hover state.</td></tr><tr><td>Background hover gradient</td><td>The border gradient of the button for hover state.</td></tr><tr><td>Letter spacing</td><td>Enter the spacing between letters of the button text. <br><br><em>Note: the recommended unit is em.</em></td></tr><tr><td>Show custom border</td><td>Toggle the custom border, which looks like an outer background for an echo effect on the button.</td></tr><tr><td>Border color</td><td>Apply a color for the custom border if turned on.</td></tr><tr><td>Button label style</td><td>Select the transform style for the button text. The options are: None, Capitalize, Uppercase, Lowercase.</td></tr><tr><td>Button font weight</td><td>Select the font weight for the button text. The options are: Normal, Medium, Semi Bold, Bold, Extra bold, Black.</td></tr><tr><td>Content position</td><td>Select the position of the content including title, subtitle, description, button to be either on top, to the left or to the right of the images comparison slider.</td></tr><tr><td>Content style</td><td>Select the style for the content. There are 2 styles:<br><br><mark style="color:orange;"><strong>Style 1</strong></mark><br><mark style="color:orange;"><strong>Style 2</strong></mark><br><br><em><mark style="color:orange;">Note: Applies when the ‘left of compare images’ or ‘right of compare images’ option is selected.</mark></em></td></tr><tr><td>Background</td><td>Apply the color for the background of the content style 2.</td></tr><tr><td>Background gradient</td><td>Apply the gradient for the background of the content style 2.</td></tr><tr><td>Border </td><td>Apply the color for the border of the content style 2.</td></tr></tbody></table>

### Images to compare

The settings are only for uploading images to compare for Desktop and Mobile device.

### Section top padding

<table><thead><tr><th width="334">Settings</th><th>Meaning</th></tr></thead><tbody><tr><td>Desktop</td><td>Determines the height of the top inner space of the section on the desktop device. Can be from 0px to 100px, increasing arithmetically of 5px (pixel).</td></tr><tr><td>Tablet</td><td>Determines the height of the top inner space of the section on the tablet device. Can be from 0px to 100px, increasing arithmetically of 5px (pixel).</td></tr><tr><td>Mobile</td><td>Determines the height of the top inner space of the section on the mobile device. Can be from 0px to 100px, increasing arithmetically of 5px (pixel).</td></tr></tbody></table>

### Section bottom padding

<table><thead><tr><th width="334">Settings</th><th>Meaning</th></tr></thead><tbody><tr><td>Desktop</td><td>Determines the height of the bottom inner space of the section on the desktop device. Can be from 0px to 100px, increasing arithmetically of 5px (pixel).</td></tr><tr><td>Tablet</td><td>Determines the height of the bottom inner space of the section on the tablet device. Can be from 0px to 100px, increasing arithmetically of 5px (pixel).</td></tr><tr><td>Mobile</td><td>Determines the height of the bottom inner space of the section on the mobile device. Can be from 0px to 100px, increasing arithmetically of 5px (pixel).</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://halosoft.gitbook.io/ella-documentation/sections/all-sections-in-theme/before-after-image-slider.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.
