# Full-width="full-width" mjml attribute for section and wrapper not working?

**URL:** <https://forum.mautic.org/t/full-width-full-width-mjml-attribute-for-section-and-wrapper-not-working/21854>\
**Category:** Product Support\
**Created:** [December 1, 2021, 5:56pm UTC](https://forum.mautic.org/t/full-width-full-width-mjml-attribute-for-section-and-wrapper-not-working/21854 "2021-12-01T17:56:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![techbill](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/techbill/32/8325_2.png) [@techbill](https://forum.mautic.org/u/techbill)\
**Post date:** [December 1, 2021, 5:56pm UTC](https://forum.mautic.org/t/full-width-full-width-mjml-attribute-for-section-and-wrapper-not-working/21854/1 "2021-12-01T17:56:42Z")

</div>

**Your software**  
My Mautic version is: 4.1.0  
My PHP version is: 7.4  
My Database type and version is: MySQL 8+

**Your problem**  
My problem is:  
I created a mjml template but it seems that the full-width=“full-width” attribute for section / wrapper is either not working or ignored.

MJML “Try It Live” shows that it’s a functional attribute

[https://mjml.io/try-it-live/components/section](https://mjml.io/try-it-live/components/section)

These errors are showing in the log: Nothing shown

Steps I have tried to fix the problem: I double checked MJML document and it shows that it support this attribute.

[https://documentation.mjml.io/#mj-section](https://documentation.mjml.io/#mj-section)

and

[https://documentation.mjml.io/#mj-wrapper](https://documentation.mjml.io/#mj-wrapper)

---

<div class="post-metadata">

**Author:** ![techbill](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/techbill/32/8325_2.png) [@techbill](https://forum.mautic.org/u/techbill)\
**Post date:** [December 7, 2021, 5:28pm UTC](https://forum.mautic.org/t/full-width-full-width-mjml-attribute-for-section-and-wrapper-not-working/21854/2 "2021-12-07T17:28:57Z")

</div>

Is there any other way to make wrapper or section background a full width?

It seems that Mautic MJML does not support full width.

---

<div class="post-metadata">

**Author:** ![fr500](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/fr500/32/6473_2.png) [@fr500](https://forum.mautic.org/u/fr500)\
**Post date:** [May 12, 2022, 9:42pm UTC](https://forum.mautic.org/t/full-width-full-width-mjml-attribute-for-section-and-wrapper-not-working/21854/3 "2022-05-12T21:42:06Z")

</div>

this seems similar to what we are experiencing here

> [@Are mj-attributes functional on grapesjs mjml?](https://forum.mautic.org/t/are-mj-attributes-functional-on-grapesjs-mjml/21875/3):
>
> Thanks for pointing it out … frowning Oh well, hopefully one day … it’ll get included …

---

<div class="post-metadata">

**Author:** ![techbill](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/techbill/32/8325_2.png) [@techbill](https://forum.mautic.org/u/techbill)\
**Post date:** [May 13, 2022, 1:23am UTC](https://forum.mautic.org/t/full-width-full-width-mjml-attribute-for-section-and-wrapper-not-working/21854/4 "2022-05-13T01:23:01Z")

</div>

It does work somewhat.

Just create the email you want with mjml outside of Mautic and upload it into mautic as a theme.

It may not still render correctly in Mautic but if you send off the email like a test email, you’ll received it correctly rendered as you developed it in mjml.

It least it does for me.

---

<div class="post-metadata">

**Author:** ![techbill](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/techbill/32/8325_2.png) [@techbill](https://forum.mautic.org/u/techbill)\
**Post date:** [December 5, 2022, 3:08pm UTC](https://forum.mautic.org/t/full-width-full-width-mjml-attribute-for-section-and-wrapper-not-working/21854/5 "2022-12-05T15:08:50Z")

</div>

They found a solution to the full-width and create a PR for it

> <https://github.com/artf/grapesjs-mjml/issues/268>
>
> The attribute full-width doesn't seem to work for wrapper and section mjml compo…nents.   
> 
> MJML try it live show it to be part of the attribute for section and wrapper 
> 
> https://mjml.io/try-it-live/components/section

---

<div class="post-metadata">

**Author:** ![nino\_knetemann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nino_knetemann/32/6227_2.png) [@nino\_knetemann](https://forum.mautic.org/u/nino_knetemann)\
**Post date:** [December 5, 2022, 4:08pm UTC](https://forum.mautic.org/t/full-width-full-width-mjml-attribute-for-section-and-wrapper-not-working/21854/6 "2022-12-05T16:08:58Z")

</div>

Thank you for posting the solution.
