> For the complete documentation index, see [llms.txt](https://ursus-ecom.gitbook.io/arctos-theme/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ursus-ecom.gitbook.io/arctos-theme/section-templates/sticky-layout.md).

# Sticky layout

Use the Sticky layout block to keep one area visible while another area scrolls alongside it. This layout is useful for split content, such as keeping an image, heading, or other supporting content in view while visitors scroll through banners or other content.

### 1. How Sticky layout works

Sticky layout has a fixed structure with two areas:

* **Sticky:** The area that stays in view as visitors scroll.
* **Main content:** The area that scrolls alongside the Sticky area.

These two areas are built into the block and can't be removed or reordered.

The **Sticky** area holds a [Group](https://ursus-ecom.gitbook.io/arctos-theme/blocks/layout/group.md) block (or other supported theme blocks, including **Collection recommendation** and **Compact product bundle**), which you can use to build the content that stays in view.

The **Main content** area accepts content blocks such as [Banners](https://ursus-ecom.gitbook.io/arctos-theme/blocks/media/banner.md), **Collection recommendation**, and **Compact product bundle**, which create the scrolling content alongside the Sticky area.

### 2. How to access Sticky layout

{% stepper %}
{% step %}
**Add Sticky layout**

In **Theme Editor (Customize)**, open the template and select a section that supports layout blocks (such as **Custom section**, **Section**, **Storytelling**, **Gallery**, **Page**, **Contact**, or **Collection links**).

Click **Add block**.
{% endstep %}

{% step %}
**Select Sticky layout**

Search for **sticky** or select **Sticky layout**.
{% endstep %}

{% step %}
**Configure the layout**

After adding the block, select it to open its settings. Configure the block-level settings, then adjust the **Sticky** and **Main content** areas to build your layout.
{% endstep %}

{% step %}
**Preview the result**

Preview the block on desktop and mobile to make sure the Sticky position and content layout work as intended.
{% endstep %}

{% step %}
**Save your changes**

Click **Save**.
{% endstep %}
{% endstepper %}

### 3. What you can customize

Sticky layout provides settings at three levels:

```
Sticky layout          [block]
├── Sticky             [the panel that stays in view]
└── Main content       [the area that scrolls]
```

* **Sticky layout:** Controls the overall block width, the position of the Sticky area, and the layout, style, and spacing of the two areas.
* **Sticky:** Controls the size, position, inner content layout, style, and spacing of the area that stays in view.
* **Main content:** Controls the height, inner content layout, style, and spacing of the area that scrolls alongside the Sticky area.

### 4. Sticky layout

The outer container block. Its settings control the block width, the sticky side's position, and the layout, style, and spacing of the two areas inside it.

<details>

<summary>Size</summary>

<table><thead><tr><th width="174.6953125">Setting</th><th width="143.31640625">Options</th><th>What it does</th></tr></thead><tbody><tr><td><strong>Width</strong></td><td><ul><li>Fill</li><li>Custom</li></ul></td><td><p>Controls how wide the block appears.</p><ul><li><strong>Fill:</strong> Stretches the block to fill the available width.</li><li><strong>Custom:</strong> Sets a custom width (percent or pixel).</li></ul><p>Width is always full width on mobile.</p></td></tr></tbody></table>

</details>

<details>

<summary>Sticky position</summary>

Sets which side the Sticky area appears on.

<table><thead><tr><th width="168.1484375">Setting</th><th width="156.73046875">Options</th><th>What it does</th></tr></thead><tbody><tr><td><strong>Desktop</strong></td><td><ul><li>Left</li><li>Right</li></ul></td><td>Places the Sticky area on the left or right of the Main content on desktop.</td></tr><tr><td><strong>Mobile</strong></td><td><ul><li>Top</li><li>Bottom</li></ul></td><td>Places the Sticky area above or below the Main content on mobile.</td></tr></tbody></table>

</details>

<details>

<summary>Inner content layout</summary>

Arrange the two areas placed inside the block.

<table><thead><tr><th width="171.15625">Setting</th><th>Options</th><th>What it does</th></tr></thead><tbody><tr><td><strong>Gap</strong></td><td><ul><li>Default</li><li>0–32px</li><li>Custom</li></ul></td><td>Sets the spacing between the Sticky and Main content areas.</td></tr><tr><td><strong>Custom on mobile</strong></td><td><ul><li>On</li><li>Off</li></ul></td><td>Reveals a separate Gap value for mobile screens.</td></tr></tbody></table>

</details>

<details>

<summary>Style</summary>

Control the block's color scheme, background, and visual treatment.

<table><thead><tr><th width="195.23046875">Setting</th><th width="126.95703125">Options</th><th>What it does</th></tr></thead><tbody><tr><td><strong>Inherit color scheme</strong></td><td><ul><li>On</li><li>Off</li></ul></td><td>Turning this On matches the block's colors to the section. Turning it Off lets you select a different color scheme.</td></tr><tr><td><strong>Custom background</strong></td><td><ul><li>On</li><li>Off</li></ul></td><td>Enables a custom background treatment for the block. When <strong>Background</strong> is set to <strong>Media</strong> and <strong>Show different media on mobile</strong> is <strong>On</strong>, mobile shows only the mobile media, or a placeholder when empty; never the desktop media.</td></tr></tbody></table>

</details>

<details>

<summary>Spacing</summary>

<table><thead><tr><th width="166.7265625">Setting</th><th width="145.27734375">Options</th><th>What it does</th></tr></thead><tbody><tr><td><strong>Padding</strong></td><td><ul><li>On</li><li>Off</li></ul></td><td>Adds space inside the block between its edge and the inner content.</td></tr><tr><td><strong>Margin</strong></td><td><ul><li>On</li><li>Off</li></ul></td><td>Adds space outside the block.</td></tr></tbody></table>

</details>

#### 4.1. Sticky

The area that stays in view while the Main content scrolls beside it.

Sticky holds a Group block. You can't add other blocks directly to Sticky, so build your sticky content inside the Group.

<details>

<summary>Size</summary>

<table><thead><tr><th width="112.28125">Setting</th><th width="140.796875">Options</th><th>What it does</th></tr></thead><tbody><tr><td><strong>Width</strong></td><td><ul><li>Fit</li><li>Fill</li><li>Custom</li></ul></td><td><p>Controls how wide the Sticky area appears.</p><ul><li><strong>Fit:</strong> Sizes the Sticky area to fit its content.</li><li><strong>Fill:</strong> Stretches the Sticky area to fill the available width.</li><li><strong>Custom:</strong> Sets a custom width for the Sticky area.</li></ul></td></tr><tr><td><strong>Height</strong></td><td><ul><li>Fit</li><li>Full</li></ul></td><td><p>Controls the height of the Sticky area.</p><ul><li><strong>Fit:</strong> The Sticky area takes up only as much height as its content needs.</li><li><strong>Full:</strong> The Sticky area stretches to fill all available height.</li></ul></td></tr></tbody></table>

On mobile, Width is always Fill and Height is always Fit, even when Height is set to Full on desktop.

</details>

<details>

<summary>Position</summary>

<table><thead><tr><th width="171.98046875">Setting</th><th width="125.8046875">Options</th><th>What it does</th></tr></thead><tbody><tr><td><strong>Sticky anchor</strong></td><td><ul><li>Top</li><li>Middle</li><li>Bottom</li></ul></td><td>Sets where the Sticky area rests as the Main content scrolls past it.</td></tr></tbody></table>

Position and Sticky anchor only appear when Height is set to Fit.

</details>

<details>

<summary>Inner content layout</summary>

Arrange the blocks placed inside the Sticky area.

<table><thead><tr><th width="156.6796875">Setting</th><th width="161.390625">Options</th><th>What it does</th></tr></thead><tbody><tr><td><strong>Direction</strong></td><td><ul><li>Vertical</li><li>Horizontal</li></ul></td><td>Sets whether blocks stack or sit side by side.</td></tr><tr><td><strong>Alignment</strong></td><td><ul><li>Left</li><li>Center</li><li>Right</li></ul></td><td>Positions content across the available space.</td></tr><tr><td><strong>Position</strong></td><td><ul><li>Top</li><li>Middle</li><li>Bottom</li><li>Space between</li></ul></td><td>Positions content along the opposite axis of the main direction.</td></tr><tr><td><strong>Gap</strong></td><td><ul><li>Default</li><li>0–32px</li><li>Custom</li></ul></td><td>Sets the spacing between blocks.</td></tr><tr><td><strong>Custom on mobile</strong></td><td><ul><li>On</li><li>Off</li></ul></td><td>Reveals separate layout controls for mobile screens.</td></tr></tbody></table>

</details>

<details>

<summary>Style</summary>

<table><thead><tr><th width="159.8203125">Setting</th><th width="131.375">Options</th><th>What it does</th></tr></thead><tbody><tr><td><strong>Inherit color scheme</strong></td><td><ul><li>On</li><li>Off</li></ul></td><td>Turning this On matches the Sticky area's colors to the section. Turning it Off lets you select a different color scheme.</td></tr><tr><td><strong>Custom background</strong></td><td><ul><li>On</li><li>Off</li></ul></td><td>Enables a custom background treatment for the Sticky area. When <strong>Background</strong> is set to <strong>Media</strong> and <strong>Show different media on mobile</strong> is <strong>On</strong>, mobile shows only the mobile media, or a placeholder when empty; never the desktop media.</td></tr><tr><td><strong>Corner radius</strong></td><td><ul><li>Main corner</li><li>Small</li><li>Extra small</li><li>None</li><li>Custom</li></ul></td><td><p>Controls how rounded the Sticky area's corners appear.</p><ul><li><strong>Main corner</strong> matches the global corner radius set in your theme.</li><li><strong>Small</strong> and <strong>Extra small</strong> inherit from the <a href="https://ursus-ecom.gitbook.io/pages/MtcWsJuspkVnqjnkw5Ur#id-1.-global-style-main-corner">main corner</a> value and scale it down proportionally for a subtler effect.</li><li><strong>None</strong> removes rounding entirely for a sharp, full-bleed look.</li><li><strong>Custom</strong> lets you set a precise value to match a specific design.</li></ul><p>For detailed settings, see <a href="https://ursus-ecom.gitbook.io/arctos-theme/blocks/basic/image.md#corner-radius">Corner radius</a>.</p></td></tr><tr><td><strong>Show border</strong></td><td><ul><li>On</li><li>Off</li></ul></td><td>Adds a border around the Sticky area.</td></tr></tbody></table>

</details>

<details>

<summary>Spacing</summary>

<table><thead><tr><th width="137.08984375">Setting</th><th width="135.30078125">Options</th><th>What it does</th></tr></thead><tbody><tr><td><strong>Padding</strong></td><td><ul><li>On</li><li>Off</li></ul></td><td>Adds space inside the Sticky area between its edge and the inner content.</td></tr><tr><td><strong>Margin</strong></td><td><ul><li>On</li><li>Off</li></ul></td><td>Adds space outside the Sticky area.</td></tr></tbody></table>

</details>

#### 4.2. Main content

The area that scrolls beside the Sticky area. Add blocks here, such as Banners, to build the scrolling content.

<details>

<summary>Size</summary>

<table><thead><tr><th width="143.59375">Setting</th><th width="114.05078125">Options</th><th>What it does</th></tr></thead><tbody><tr><td><strong>Height</strong></td><td><ul><li>Fit</li><li>Full</li></ul></td><td><p>Controls the height of the Main content area.</p><ul><li><strong>Fit:</strong> The Main content area takes up only as much height as its content needs.</li><li><strong>Full:</strong> The Main content area stretches to fill all available height.</li></ul></td></tr></tbody></table>

Width is always Fill. On mobile, Width is always Fill and Height is always Fit, even when Height is set to Full on desktop.

</details>

<details>

<summary>Inner content layout</summary>

Arrange the blocks placed inside the Main content area.

<table><thead><tr><th width="180.0703125">Setting</th><th width="168.36328125">Options</th><th>What it does</th></tr></thead><tbody><tr><td><strong>Direction</strong></td><td><ul><li>Vertical</li><li>Horizontal</li></ul></td><td>Sets whether blocks stack or sit side by side.</td></tr><tr><td><strong>Alignment</strong></td><td><ul><li>Left</li><li>Center</li><li>Right</li></ul></td><td>Positions content across the available space.</td></tr><tr><td><strong>Position</strong></td><td><ul><li>Top</li><li>Middle</li><li>Bottom</li><li>Space between</li></ul></td><td>Positions content along the opposite axis of the main direction.</td></tr><tr><td><strong>Gap</strong></td><td><ul><li>Default</li><li>0–32px</li><li>Custom</li></ul></td><td>Sets the spacing between blocks.</td></tr><tr><td><strong>Custom on mobile</strong></td><td><ul><li>On</li><li>Off</li></ul></td><td>Reveals separate layout controls for mobile screens.</td></tr></tbody></table>

</details>

<details>

<summary>Style</summary>

<table><thead><tr><th width="181.12109375">Setting</th><th width="168.6875">Options</th><th>What it does</th></tr></thead><tbody><tr><td>Inherit color scheme</td><td><ul><li>On</li><li>Off</li></ul></td><td>Turning this On matches the Main content area's colors to the section. Turning it Off lets you select a different color scheme.</td></tr><tr><td><strong>Custom background</strong></td><td><ul><li>On</li><li>Off</li></ul></td><td>Enables a custom background treatment for the Main content area. When <strong>Background</strong> is set to <strong>Media</strong> and <strong>Show different media on mobile</strong> is <strong>On</strong>, mobile shows only the mobile media, or a placeholder when empty; never the desktop media.</td></tr><tr><td>Corner radius</td><td><ul><li>Main corner</li><li>Small</li><li>Extra small</li><li>None</li><li>Custom</li></ul></td><td><p>Controls how rounded the Main content area's corners appear.</p><ul><li><strong>Main corner</strong> matches the global corner radius set in your theme.</li><li><strong>Small</strong> and <strong>Extra small</strong> inherit from the <a href="https://ursus-ecom.gitbook.io/pages/MtcWsJuspkVnqjnkw5Ur#id-1.-global-style-main-corner">main corner</a> value and scale it down proportionally for a subtler effect.</li><li><strong>None</strong> removes rounding entirely for a sharp, full-bleed look.</li><li><strong>Custom</strong> lets you set a precise value to match a specific design.</li></ul><p>For detailed settings, see <a href="https://ursus-ecom.gitbook.io/arctos-theme/blocks/basic/image.md#corner-radius">Corner radius</a>.</p></td></tr><tr><td>Show border</td><td><ul><li>On</li><li>Off</li></ul></td><td>Adds a border around the Main content area.</td></tr></tbody></table>

</details>

<details>

<summary>Spacing</summary>

<table><thead><tr><th width="177.04296875">Setting</th><th width="143.265625">Options</th><th>What it does</th></tr></thead><tbody><tr><td><strong>Padding</strong></td><td><ul><li>On</li><li>Off</li></ul></td><td>Adds space inside the Main content area between its edge and the inner content.</td></tr><tr><td><strong>Margin</strong></td><td><ul><li>On</li><li>Off</li></ul></td><td>Adds space outside the Main content area.</td></tr></tbody></table>

</details>

### Related documentation

* [**Group**](https://ursus-ecom.gitbook.io/arctos-theme/blocks/layout/group.md) - build and organize the content inside the Sticky area
* [**Banner**](https://ursus-ecom.gitbook.io/arctos-theme/blocks/media/banner.md) - add scrolling content to the Main content area
* [**Image**](https://ursus-ecom.gitbook.io/arctos-theme/blocks/basic/image.md) - configure image settings such as corner radius
