# Rich text

The rich text section is a flexible content block used to display formatted text, headings, and optional calls to action. It is commonly used for editorial content, informational messaging, or storytelling within page layouts.

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

#### Text alignment

Controls the alignment of all content within the section. Default is “Center”, aligning text centrally.

#### Maximum width

Controls the horizontal width of the content container. Set to “Fill space” to allow the section to expand across the full available width.

#### Heading

The main heading displayed for the section. Default is “Rich text”. Leave blank to omit.

#### Subheading

Optional supporting text shown below the heading to provide additional context or introduction. Leave blank to omit.

#### Content

Rich text editor area used to add formatted content such as paragraphs, links, and basic styling for editorial or informational use.

#### Button label

Defines the text for an optional call-to-action button. Leave blank to hide the button.

#### Button link

Specifies the URL destination for the button. Can link to a page, collection, product, or external URL. Leave blank to omit.

#### Button style

Defines the visual style of the button. Default is “Secondary”.

#### Button size

Controls the size of the button. Options include Small, Medium, or Large depending on design emphasis.

#### Vertical spacing

Controls the spacing around the section to adjust its separation from surrounding content.

#### Vertical spacing (desktop)

Sets the vertical spacing applied on desktop devices. Default is Large.

#### Vertical spacing (mobile)

Sets the vertical spacing applied on mobile devices to ensure consistent spacing across screen sizes.


---

# 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://gatame.gitbook.io/highstreet/dynamic-sections/information/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.
