# Rich text

The **Rich text** section enables the addition of content along with buttons, allowing for versatile content presentation and user interaction.

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

## General settings

<table data-full-width="false"><thead><tr><th width="143">Setting</th><th>Description</th></tr></thead><tbody><tr><td><strong>Section width</strong></td><td><p></p><p>3 options for container</p><ul><li><em><strong>Stretch width</strong></em>: span the section width regardless of screen size.</li><li><em><strong>Fix width</strong></em>: depends on your page content width in <strong>Theme settings</strong> <strong>-></strong> <strong>Layout</strong>.</li><li><em><strong>Expand full width</strong></em>: takes up the entire space on the page and it usually resizes itself to fit the size of the screen.</li></ul></td></tr><tr><td><strong>Color scheme</strong></td><td>Select colors from <strong>Theme settings -> Colors</strong></td></tr><tr><td><strong>Content alignment</strong></td><td><p>The position of the block</p><ul><li>Left</li><li>Center</li><li>Right</li></ul></td></tr><tr><td><strong>Max width</strong></td><td>Customize the width of the block</td></tr></tbody></table>

### Section padding

* **Top padding:** Customize the top margin of the section
* **Bottom padding:** Customize the bottom margin of the section

## Block settings

<figure><img src="/files/P3qQynMxysusXBkjbiH8" alt="" width="375"><figcaption></figcaption></figure>

### Heading, Subheading, Description

<table data-full-width="false"><thead><tr><th width="143">Setting</th><th>Description</th></tr></thead><tbody><tr><td><strong>Heading, Subheading,Description</strong></td><td>Custom title block</td></tr><tr><td><strong>Size</strong></td><td><p>Font size customization</p><ul><li>Small</li><li>Medium</li><li>Large</li></ul></td></tr><tr><td><strong>Remove default space</strong></td><td>When enabled, it will remove the default spacing of the block</td></tr></tbody></table>

### Button

<table data-full-width="false"><thead><tr><th width="134">Setting</th><th>Description</th></tr></thead><tbody><tr><td><strong>Button label</strong></td><td>Custom name button, if left empty, the button will be hidden</td></tr><tr><td><strong>Button link</strong></td><td>The link URL you want to add</td></tr><tr><td><strong>Button style</strong></td><td><p>The style of the button</p><ul><li>Fill</li><li>Outline</li></ul></td></tr></tbody></table>

### Image

<table data-full-width="false"><thead><tr><th width="134">Setting</th><th>Description</th></tr></thead><tbody><tr><td><strong>Image</strong></td><td>Upload your desired image</td></tr><tr><td><strong>Vertical position</strong></td><td>The vertical position of the image </td></tr><tr><td><strong>Horizontal position</strong></td><td>The horizontal position of the image</td></tr></tbody></table>

### Spacing

* **Desktop:** Changes the section height in desktop screens.
* **Mobile:** Changes the section height in mobile screens.


---

# 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://nextsky.gitbook.io/agile-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.
