# Rich text

The **Rich text** section displays text-based content in a flexible vertical or horizontal layout. It supports multiple content blocks, allowing you to combine headings, descriptions, buttons, collapsible content, and other elements within a single section.
Use this section to introduce your brand, share important information, highlight key messages, or create content-rich areas on your homepage, landing pages, or product pages.
## How to customize the Rich text section
1. In the theme editor (**Edit theme**), open the page where you want to display the section.
2. Click **Add section** and select **Rich text**.
3. Choose a **Container** width and set the **Direction** to Vertical or Horizontal.
4. Configure the content alignment and spacing between blocks.
5. Add, remove, or reorder content blocks as needed.
6. Customize each block's content and settings.
7. Adjust the mobile layout, appearance, and padding if needed.
8. Click **Save**.
## Section settings
The **Rich text** section uses the same settings as the **Custom section**, allowing you to control how content blocks are arranged and styled.
By default, Rich text uses a vertical layout, with content blocks stacked from top to bottom. You can switch to a horizontal layout to display blocks side by side or adjust their alignment and spacing to suit your content.
The settings are organized into four groups:
* **Layout** — Controls the container width, content direction, alignment, and spacing between blocks.
* **Mobile layout** — Controls the horizontal and vertical spacing between blocks on mobile devices.
* **Appearance** — Controls the color scheme, border, and corner radius, including whether the color scheme applies to the entire section or just the content container.
* **Padding** — Controls the spacing around the section content, with separate values for desktop and mobile.
For detailed descriptions of all settings, available options, and dependencies, see [**Custom section**](https://docs.foxecom.com/pebble-theme/theme-sections/custom-section).
## Blocks
The **Rich text** section uses individual content blocks that you can combine to create different layouts.
By default, the section includes two blocks:
* [**Text**](https://docs.foxecom.com/pebble-theme/theme-blocks/text) — Displays headings, supporting text, descriptions, or other written content.
* [**Collapsible text**](https://docs.foxecom.com/pebble-theme/theme-blocks/collapsible-text) — Displays expandable content that customers can open or close.
You can also add other supported theme blocks to build more customized content arrangements.
Each block can be added, removed, and reordered independently. The section's layout settings determine how the blocks are arranged, while each block has its own content and customization options.
For detailed settings and customization options, see the documentation for each individual block:
Theme blocks
## FAQs
**Can I change the default blocks without affecting other Rich text sections?**
Yes. Each Rich text section is configured independently. You can remove the default **Text** or **Collapsible text** blocks, add new blocks, and change their order without affecting other instances on the same page.
**What happens if I remove all the default blocks?**
The Rich text section will no longer have content to display until you add new blocks. You can rebuild the section using any supported theme blocks without needing to add a new Rich text section.
**Can I turn a Rich text section into a different content layout?**
Yes. The default blocks and layout are only a starting point. You can replace the existing blocks, add other supported content types, and change the layout settings. You don't need to recreate the section to customize its structure.
**Will changes to the Rich text preset affect sections I've already added?**
No. The preset provides the initial configuration when a section is added. Changes you make to one Rich text section in the theme editor apply to that section instance, not to other sections created from the same preset.