R
R
Ruslan2021-10-26 13:19:39
Layout of letters
Ruslan, 2021-10-26 13:19:39

How to adapt images in mjml?

I am typing a letter and at the same time I understand an interesting framework for this business - mjml. The question arose of how to adapt parts of the layout. With the text, everything turned out to be simple - we make a media query and hang text-align there, but how to center the image in <mj-image />?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
andand44, 2021-10-26
@andand44

The image is centered by default. You can center using align="center"
https://documentation.mjml.io/#mj-image

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question