# How to adjust mj-body background color?

**URL:** <https://forum.mautic.org/t/how-to-adjust-mj-body-background-color/32525>\
**Category:** Mautic 5 Install/Upgrade Support\
**Created:** [June 25, 2024, 6:59am UTC](https://forum.mautic.org/t/how-to-adjust-mj-body-background-color/32525 "2024-06-25T06:59:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefan-franz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/stefan-franz/32/12758_2.png) [@stefan-franz](https://forum.mautic.org/u/stefan-franz)\
**Post date:** [June 25, 2024, 6:59am UTC](https://forum.mautic.org/t/how-to-adjust-mj-body-background-color/32525/1 "2024-06-25T06:59:50Z")

</div>

**Your software**  
My Mautic version is: 5.1  
My PHP version is: 8.1.29  
My Database type and version is: Mariadb 10.6

How can adjust the background color outside the normal e-mail text?  
In the Vers. 5.0.4 i had anywhwere a color field - but in the 5.1 i can’t find it.

Is it a bug of the new behaviour of the section (section is now shown the full wide - at 5.0.4 it was shown only around the mail section)

---

<div class="post-metadata">

**Author:** ![ricfreire](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ricfreire/32/14973_2.png) [@ricfreire](https://forum.mautic.org/u/ricfreire)\
**Post date:** [June 26, 2024, 9:53pm UTC](https://forum.mautic.org/t/how-to-adjust-mj-body-background-color/32525/2 "2024-06-26T21:53:01Z")

</div>

Hi @stefan-franz,

To change the background color of your email, you can add the `background-color` attribute to the `<mj-body>` tag. For example:

`<mj-body background-color="red">`

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/6/6e9a68eff650b9cb878789acab56439a43820ff1.png)

I hope this helps.

Best regards,  
Ricardo

---

<div class="post-metadata">

**Author:** ![stefan-franz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/stefan-franz/32/12758_2.png) [@stefan-franz](https://forum.mautic.org/u/stefan-franz)\
**Post date:** [June 27, 2024, 12:37pm UTC](https://forum.mautic.org/t/how-to-adjust-mj-body-background-color/32525/3 "2024-06-27T12:37:04Z")

</div>

Thanks. It’s a bug. Before 5.1 it was normal able to select the color like inside the e-mail.
