Mjml: Modify the default width of the email

Created on 9 Feb 2016  路  7Comments  路  Source: mjmlio/mjml

Hi I was wondering if there is any solution to modify the default width of the email. Because for now it's 600px wide but I want a 550px wide email.

Feature request

Most helpful comment

Added in 1.1.0

All 7 comments

Hi @damien-couteillou,

At the moment, MJML supports only 600px layout. I think we can add an attribute on mj-body, like: <mj-body width="550px">

Yeah that could be a solution. If I have time i'll try to pr a solution

Added in 1.1.0

Thx guys ! Good job on the reactivity !

Looks like something has been refactored and body width attribute does not work. Is this the case?

It's now on mj-container

Ah! Good to know! I could have guessed from mj-container documentation. Thank you!

Was this page helpful?
0 / 5 - 0 ratings