# Rich text

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

Add flexible text content to highlight your brand story, promotions, or important information in a clean and customizable layout.

## How to add a Rich text section to your Shopify store

{% hint style="success" %}

1. In the theme editor **(Customize)**, click **Add section.**
2. Select **Rich text** section.
3. Make necessary changes.
4. **Save.**
   {% endhint %}

## How to customize a Rich text section <a href="#how-to-customize-a-banner-with-tabs-section" id="how-to-customize-a-banner-with-tabs-section"></a>

### Section settings

<table><thead><tr><th width="250.999755859375">Setting</th><th>Description</th></tr></thead><tbody><tr><td><strong>Container</strong></td><td>Choose the section width: full width or fixed within the page.</td></tr><tr><td><strong>Direction</strong> </td><td>Set how items are arranged: vertically stacked or horizontally aligned.</td></tr><tr><td><strong>Vertical on mobile</strong> <em>(Horizontal only)</em> </td><td>Enable vertical stacking layout on mobile devices for better responsiveness.</td></tr><tr><td><strong>Alignment</strong></td><td>Define how content is aligned within the container.</td></tr><tr><td><strong>Position</strong> <em>(Horizontal only)</em> </td><td>Control the vertical placement of content inside the banner (top, center, or bottom).</td></tr><tr><td><strong>Horizontal gap</strong></td><td>Adjust spacing between items horizontally.</td></tr><tr><td><strong>Vertical gap</strong></td><td>Adjust spacing between items vertically.</td></tr><tr><td><strong>Mobile horizontal gap</strong></td><td>Set horizontal spacing between items on mobile devices.</td></tr><tr><td><strong>Mobile vertical gap</strong></td><td>Set vertical spacing between items on mobile devices.</td></tr></tbody></table>

{% tabs %}
{% tab title="Vertical" %}

<figure><img src="/files/V63zBwPjfknBzCXtpskg" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Horizontal" %}

<figure><img src="/files/qAaXJX0E744GpJPEvIna" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### Block settings

The **Rich text** section includes **Text** and **Collapsible text** blocks by default. You can add more block types to create a flexible and dynamic layout.

*Learn more:*

{% content-ref url="/pages/kDPTtLq1SGRul34JEndy" %}
[Theme blocks](/pebble-theme/theme-blocks/overview.md)
{% endcontent-ref %}


---

# 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://docs.foxecom.com/pebble-theme/theme-sections/rich-text.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.
