# Before/after image

<figure><img src="https://4258944798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXLyWaWgXXqOerFzAWewi%2Fuploads%2FsRLiye1DdpQxxbylYmxB%2Fconcept-section-1.jpg?alt=media&#x26;token=9c850f73-26d3-4f9d-bf6f-686d55fab07e" alt=""><figcaption></figcaption></figure>

To add this section, please follow the 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**".

<table><thead><tr><th width="264">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Section width</td><td><p>Select the section width from the dropdown menu:</p><ul><li><strong>Full width</strong></li><li><strong>Page width</strong></li><li><strong>Custom width</strong></li></ul></td></tr><tr><td>Custom width</td><td>Determines the width of the section when you choose "<strong>Custom width</strong>" option at '<strong>Section width'</strong> setting . Can be from <strong>1000px</strong> to <strong>1800px</strong>, increasing arithmetically of <strong>50px</strong> (pixel).</td></tr><tr><td>Show separator line</td><td>Displays a line to visually separate this section from the other sections.</td></tr><tr><td>Desktop background image</td><td>Set up an image on desktop</td></tr><tr><td>Mobile background image</td><td>Set up an image on mobile</td></tr></tbody></table>

**Content**

<table><thead><tr><th width="265">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Subheading</td><td>Add text to display as a subheading<br><mark style="color:red;">(</mark><em><mark style="color:red;">Leave the field blank to hide the</mark><mark style="color:red;"> </mark><mark style="color:red;"><strong>subheading</strong></mark><mark style="color:red;">)</mark></em></td></tr><tr><td>Subheading size</td><td><p>Font size of text:</p><ul><li><strong>Default</strong></li><li><strong>XX-Small</strong></li><li><strong>X-Small</strong></li><li><strong>Small</strong></li><li><strong>Medium</strong></li><li><strong>Large</strong></li><li><strong>X-Large</strong></li><li><strong>XX-Large</strong></li><li><strong>XXX-Large</strong></li></ul></td></tr><tr><td>Heading</td><td>Add text to display as a heading.<br><mark style="color:red;">(</mark><em><mark style="color:red;">Leave the field blank to hide the</mark><mark style="color:red;"> </mark><mark style="color:red;"><strong>heading</strong></mark><mark style="color:red;">)</mark></em></td></tr><tr><td>Heading size</td><td><p>Font size of text:</p><ul><li><strong>Default</strong></li><li><strong>XX-Small</strong></li><li><strong>X-Small</strong></li><li><strong>Small</strong></li><li><strong>Medium</strong></li><li><strong>Large</strong></li><li><strong>X-Large</strong></li><li><strong>XX-Large</strong></li><li><strong>XXX-Large</strong></li></ul></td></tr><tr><td>Text</td><td>Add text to display as a <strong>custom content</strong><br><em><mark style="color:red;">(Leave the field blank to hide the <strong>custom</strong></mark></em> <em><mark style="color:red;"><strong>content</strong></mark><mark style="color:red;">)</mark></em></td></tr><tr><td>Text size</td><td><p>Font size of text:</p><ul><li><strong>XX-Small</strong></li><li><strong>X-Small</strong></li><li><strong>Small</strong></li><li><strong>Medium</strong></li><li><strong>Large</strong></li><li><strong>X-Large</strong></li><li><strong>XX-Large</strong></li><li><strong>XXX-Large</strong></li></ul></td></tr><tr><td>Content alignment</td><td><p>Select content alignment from the dropdown menu:</p><ul><li><strong>Left</strong>.</li><li><strong>Center</strong>.</li><li><strong>Right</strong>.</li></ul></td></tr><tr><td>Vertical space between content items</td><td>Determines the grid spacing between vertical of blocks. Can be from <strong>0px</strong> to <strong>100px</strong>, increasing arithmetically of <strong>1px</strong> (pixel).</td></tr><tr><td>Choose style button</td><td><p>Select the button style for the section:</p><ul><li><strong>Default</strong></li><li><strong>Transparent</strong></li></ul></td></tr><tr><td>Button label</td><td>Add text to display as a button on the section <br><em><mark style="color:red;">(Leave the field blank to hide the link)</mark></em></td></tr><tr><td>Button link</td><td>Set the link of the button, for example the customer service page.</td></tr><tr><td>Button top margin</td><td>Determines the height of the top outside space of the section. Can be from <strong>0px</strong> to <strong>100px</strong>, increasing arithmetically of <strong>1px</strong> (pixel).</td></tr></tbody></table>

#### Images

<table><thead><tr><th width="264">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Before image</td><td>Set up an before image<br><em><mark style="color:red;">(</mark><mark style="color:red;"><strong>2000 x 1200px</strong></mark><mark style="color:red;"> </mark><mark style="color:red;">.jpg recommended)</mark></em></td></tr><tr><td>Before label</td><td>Add text to display as a before label <br><em><mark style="color:red;">(Leave the field blank to hide the</mark><mark style="color:red;"> </mark><mark style="color:red;"><strong>before label</strong></mark><mark style="color:red;">)</mark></em></td></tr><tr><td>After image</td><td>Set up an after image<br><em><mark style="color:red;">(</mark></em><mark style="color:red;">Dimensions must match before image</mark><em><mark style="color:red;">)</mark></em></td></tr><tr><td>After label</td><td>Add text to display as a after label <br><em><mark style="color:red;">(Leave the field blank to hide the</mark><mark style="color:red;"> </mark><mark style="color:red;"><strong>after label</strong></mark><mark style="color:red;">)</mark></em></td></tr><tr><td>Content position</td><td><p>Select content position from the dropdown menu:</p><ul><li><strong>Left</strong></li><li><strong>Center</strong></li><li><strong>Right</strong></li></ul></td></tr><tr><td>Drag initial position</td><td>Determines the drag initial position of the block. Can be from <strong>0%</strong> to <strong>100%</strong>, in <strong>1%</strong> arithmetic increments.</td></tr></tbody></table>

**Colors**

<table><thead><tr><th width="264">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Color scheme</td><td>Select a color scheme to set the text and background colors for the section</td></tr><tr><td>Drag cursor color</td><td>Set the color for the drag cursor icon</td></tr><tr><td>Drag cursor background</td><td>Set the background color for the drag cursor</td></tr></tbody></table>

#### **Section padding**

<table><thead><tr><th width="263">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Desktop left padding</td><td>Applies to the <strong>full-width</strong> layout when you choose <strong>'full width'</strong> from the <mark style="color:red;"><strong>Section width</strong></mark>. Adjust left padding from 0 to 100px.</td></tr><tr><td>Desktop right padding</td><td>Applies to the <strong>full-width</strong> layout when you choose <strong>'full width'</strong> from the <mark style="color:red;"><strong>Section width.</strong></mark> Adjust right padding from <strong>0</strong> to <strong>100px</strong></td></tr></tbody></table>

<table><thead><tr><th width="263">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Top padding</td><td>Determines the height of the top inner space of the section. Can be from <strong>0px</strong> to <strong>100px</strong>, increasing arithmetically of <strong>1px</strong> (pixel).</td></tr><tr><td>Bottom padding</td><td>Determines the height of the bottom inner space of the section. Can be from <strong>0px</strong> to <strong>100px</strong>, increasing arithmetically of 1px (pixel).</td></tr><tr><td>Top padding on mobile</td><td>Determines the height of the top inner space of the section on mobile. Can be from <strong>0px</strong> to <strong>100px</strong>, increasing arithmetically of <strong>1px</strong> (pixel).</td></tr><tr><td>Bottom padding on mobile</td><td>Determines the height of the top inner space of the section on mobile. Can be from <strong>0px</strong> to <strong>100px</strong>, increasing arithmetically of <strong>1px</strong> (pixel).</td></tr></tbody></table>
