> ## Documentation Index
> Fetch the complete documentation index at: https://docs.brandblox.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Add a background and border to text

> Highlight a piece of text with its own background colour, rounded corners and border

# Add a background and border to text

Make a piece of text stand out with its own background colour, rounded corners and border.

## Before you start

* Open an email in the builder, in Design mode.
* Select a **Text** component on the canvas, or add one from **Components**.

## Steps

1. With the text selected, open the **Settings** tab.
2. Under **Background Colour**, pick a brand colour. For no colour, choose the last swatch.
3. Under **Radius**, set each corner. Lock the corners to keep them the same.
4. To add a border, turn on **Border**.
5. Choose a **Border Style** (Solid, Dashed or Dotted), then set the width and colour for each side.

Your changes show on the canvas as you go. There's nothing extra to save.

## Good to know

* The background and border include the text's padding.
* Turning **Border** off hides it and keeps your settings for when you turn it back on.
* For card layouts with columns, use a Container instead. See [Add a border or shadow to a Container](https://docs.brandblox.app/emails/how-to-add-a-border-or-shadow-to-a-container.md).
* A [text shadow](https://docs.brandblox.app/emails/how-to-add-a-text-shadow.md) is separate and applies to the letters themselves.

## Related

* [Edit text in an email](https://docs.brandblox.app/emails/how-to-edit-text-in-an-email.md)
* [Add a text shadow](https://docs.brandblox.app/emails/how-to-add-a-text-shadow.md)
* [Add a border or shadow to a Container](https://docs.brandblox.app/emails/how-to-add-a-border-or-shadow-to-a-container.md)
* [Set your email's background](https://docs.brandblox.app/emails/how-to-set-email-background.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.