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

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

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

and

https://documentation.mjml.io/#mj-wrapper

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

It seems that Mautic MJML does not support full width.

this seems similar to what we are experiencing here

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.

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

Thank you for posting the solution.

1 Like