
It allows you to load your templates into the Grapesjs builder.

Your config file should have the following lines: The default behavior for mj-column is to evenly divide the space of the containing mj-section element (which is 600px by default). (thanks TrySound) mj-include can now be used to include css and html files (ref 2026) Add specific media queries for thunderbird.

The rest you can just take from a previous html file. Add mjml-preset-core package, which contains all standard components, and can be passed to mjml-core 's mjml2html. The files should be placed like this: config.json Now your terminal directory should look something like this: Defaults-MacBook-Pro:mjml-email Dan. To do this open up your terminal, type the following and hit enter, like so: cd Desktop/mjml-email. The newly created Mautic templates have to be uploaded in a zip file, just like before. Once your mjml-email folder is on your Desktop, you need to find it in your terminal so you can install MJML inside. Read our post about the importance of Alt Text when used in email marketing. Head over to and click on the try it live link to enter the editor: The files The MJML holiday tutorial to win at responsive email coding. We will use a free online editor to do so.
#Mjml divider how to#
In this tutorial I’ll show you how to create a template from scratch, with a little html knowledge. MJML is super-easy, it is based on HTML and will allow you to create beautiful responsive email templates.ĭo you just want to download this template, you can skip the mind-tingling article and jump to the good stuff. All you need is a bit of MJML language knowledge and a bit of affinity to design. Now, that Mautic gives us the option to create super-responsive email templates, you might want to flex your design muscles and create your own.
