> For the complete documentation index, see [llms.txt](https://nextsky.gitbook.io/purity-theme/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nextsky.gitbook.io/purity-theme/group-sections/banners/sticky-image-with-text.md).

# Sticky image with text

The **Sticky image with text** section keeps an image fixed in view while the accompanying text groups scroll alongside it, a great way to tell a longer story without losing the visual.

Example: <https://purity.nextsky.co/products/anti-aging-serum>

<figure><img src="https://1059363070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRcDJSoM26kdEZlVFekVW%2Fuploads%2FIHBzWmmNaos934GSXFqO%2Fimage.png?alt=media&amp;token=07f18139-b2a6-4162-8f35-a3769613067f" alt=""><figcaption></figcaption></figure>

#### Section settings <a href="#section-settings" id="section-settings"></a>

**General**

| Setting           | Description                                                                                                                                                                                                                                                                                                                             |
| ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Section width** | <p>3 options for the container width:</p><ul><li><strong>Fixed width</strong>: matches your page content width in <strong>Theme settings -> Layout</strong>.</li><li><strong>Stretch width</strong>: spans the width regardless of screen size.</li><li><strong>Full width</strong>: takes up the entire width of the screen.</li></ul> |
| **Color scheme**  | Select colors from **Theme settings -> Colors**.                                                                                                                                                                                                                                                                                        |

**Section header**

| Setting                                | Description                                                                                                                                                     |
| -------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Subheading**                         | Short line of text shown above the heading.                                                                                                                     |
| **Heading**                            | The main title of the section.                                                                                                                                  |
| **Enable heading underline animation** | Draws an animated underline under the words you set to italic in the heading. Use the Italic (I) button in the editor to mark the words.                        |
| **Underline style**                    | <p>3 underline styles:</p><ul><li><strong>Simple underline</strong></li><li><strong>Curve stroke</strong></li><li><strong>Squiggle underline</strong></li></ul> |
| **Underline color**                    | The color of the animated underline.                                                                                                                            |
| **Description**                        | Supporting text shown below the heading.                                                                                                                        |
| **Heading size**                       | Choose **Heading 1**, **Heading 2**, or **Heading 3**.                                                                                                          |
| **Alignment**                          | Aligns the header content **Left**, **Center**, or **Right**.                                                                                                   |

**Image**

| Setting                    | Description                                                                                                                                                                                               |
| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Image**                  | The image that stays pinned while the text scrolls.                                                                                                                                                       |
| **Image ratio**            | <p>Aspect ratio of the image:</p><ul><li><strong>Adapt to image</strong></li><li><strong>Square (1:1)</strong></li><li><strong>Portrait (3:4)</strong></li><li><strong>Landscape (4:3)</strong></li></ul> |
| **Image width**            | Width of the image column on desktop (30–70%). Automatically optimized for mobile.                                                                                                                        |
| **Desktop image position** | Places the image to the **Left** or **Right** of the text on desktop. The image is shown above the text on mobile.                                                                                        |

**Content settings**

| Setting        | Description                                                                              |
| -------------- | ---------------------------------------------------------------------------------------- |
| **Column gap** | Space between the columns: **No gap**, **Small**, **Medium**, **Large**, or **X-Large**. |

**Mobile settings**

| Setting                       | Description                                                |
| ----------------------------- | ---------------------------------------------------------- |
| **Hide image on mobile**      | Hides the pinned image on mobile devices.                  |
| **Enable carousel on mobile** | Turns the text groups into a swipeable carousel on mobile. |
| **Items per row**             | Number of text groups shown per row on mobile (1–2).       |

**Section padding**

| Setting    | Description                                            |
| ---------- | ------------------------------------------------------ |
| **Top**    | Customize the top padding of the section (0–100px).    |
| **Bottom** | Customize the bottom padding of the section (0–100px). |

**Section divider**

| Setting          | Description                                                              |
| ---------------- | ------------------------------------------------------------------------ |
| **Show divider** | Displays a dividing line to separate this section from the previous one. |

#### Block settings <a href="#block-settings" id="block-settings"></a>

The scrolling content is built from **Text group** blocks (plus any compatible **app block**).

**Text group**

| Setting                        | Description                                                                            |
| ------------------------------ | -------------------------------------------------------------------------------------- |
| **Color scheme**               | Select colors for this group from **Theme settings -> Colors**.                        |
| **Content alignment**          | Aligns the content **Left**, **Center**, or **Right**.                                 |
| **Content alignment** (Mobile) | Aligns the content **Left**, **Center**, or **Right** on mobile.                       |
| **Padding inline**             | Left and right spacing inside the group (0–150px). Automatically optimized for mobile. |
| **Padding block**              | Top and bottom spacing inside the group (0–150px). Automatically optimized for mobile. |

Each **Text group** can hold its own blocks: **Image**, **Heading**, **Subheading**, **Highlight text**, **Description**, **List tag**, **Button**, **Icon**, and **Countdown timer**, plus any compatible **app block**.
