> ## 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 around a button

> Give a call to action its own background colour, rounded corners and border

# Add a background and border around a button

Make a button stand out with a background colour, rounded corners and a border around it. The button's own colours still come from its **Style**.

## Before you start

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

## Steps

1. With the **Call-To-Action** selected, open the **Settings** tab.
2. Under **Background Colour**, pick a brand colour. For no colour, choose the last swatch.
3. Under **Border 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 component's **Padding** adds space outside the background and border.
* The button's own colours, corners and border come from its **Style** and hover colours in your brand.
* Turning **Border** off hides it and keeps your settings for when you turn it back on.
* If you've added a secondary call to action, both buttons share the same background and border.

## Related

* [Add a secondary call to action](https://docs.brandblox.app/emails/how-to-add-a-secondary-call-to-action.md)
* [Change button colours on hover](https://docs.brandblox.app/emails/how-to-use-call-to-action-hover-styles.md)
* [Add a background and border to text](https://docs.brandblox.app/emails/how-to-style-text-background-and-border.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)


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