# Add custom widgets to message templates

## Scope

In addition to the standard MVC widgets that you use when working with email campaign templates, you can add new custom MVC widgets or extend the built-in content widgets based on MVC.\
For more information about developing MVC widgets, see [Create and register widgets](https://www.progress.com/documentation/sitefinity-cms/create-widgets-mvc) and [Modify built-in widgets](https://www.progress.com/documentation/sitefinity-cms/modify-built-in-widgets-mvc).

The section below describes how to add or modify *Grid widgets* in the Layout toolbox. With the Layout toolbox, you create and modify message templates by applying the available grid widgets and customizing the inline styles. Thus, you modify the message template that you have opened for editing individually.

## Add custom grid widgets

> info  **NOTE**: Because the Bootstrap is not available in emails, in your message templates you cannot use the Bootstrap grid widgets shipped with the Bootstrap package out-of-the-box.

The default grid widgets that you can use in message templates, are provided on GitHub at the following location:

* [grid-2+3+2+3+2-newsletter.html](https://gist.github.com/sitefinitySDK/a0c289958349edc0c8ee38ecfcd50094#file-grid-2-3-2-3-2-newsletter-html)
* [grid-3+3+3+3-newsletter.html](https://gist.github.com/sitefinitySDK/83af8b92f1a13480b2a5d914a3667527#file-grid-3-3-3-3-newsletter-html)
* [grid-3+6+3-newsletter.html](https://gist.github.com/sitefinitySDK/11dc674b5f64075c7300347ffdd1a56e#file-grid-3-6-3-newsletter-html)
* [grid-3+9-newsletter.html](https://gist.github.com/sitefinitySDK/98a73db8e824728d61461c2c82ceabe9#file-grid-3-9-newsletter-html)
* [grid-4+4+4-newsletter.html](https://gist.github.com/sitefinitySDK/6ec50ef925efdf3cf86425d812544478#file-grid-4-4-4-newsletter-html)
* [grid-4+8-newsletter.html](https://gist.github.com/sitefinitySDK/58e5e7b1a26b19e74f6cf9b50f729613#file-grid-4-8-newsletter-html)
* [grid-6+6-newsletter.html](https://gist.github.com/sitefinitySDK/47454b4e557f1c75562afac8859e204c#file-grid-6-6-newsletter-html)
* [grid-8+4-newsletter.html](https://gist.github.com/sitefinitySDK/f614d64ea019fc019f6a2c6086d75f11#file-grid-8-4-newsletter-html)
* [grid-9+3-newsletter.html](https://gist.github.com/sitefinitySDK/1e9e05d044e7e6d7d32d977041495b33#file-grid-9-3-newsletter-html)
* [grid-12-newsletter.html](https://gist.github.com/sitefinitySDK/b6e14977f15b414b133895b7eee54b30#file-grid-12-newsletter-html)

Based on the specifics of your scenario, you may need to modify any of these grid widgets. Note that it is **only possible** to set inline styles of the `sf_colsIn` elements in the available grid widgets.
