Styling magento emials

Hi Craig,
O hope you are well.

I wonder if you could help.

I’m trying to style Magento default emails.
I personally don’t like the grey background and I want to make it white.
I found these links Change Email Template Background, How to Style Email Templates in Magento 2 and Magento 2: Override/extend the email.css that is being used in the transactional email header

I understand that I should edit Inline Styles editing some of the files.

Unfortunately, I still don’t know what style needs to be edited to change the gry background.

Add your custom styles here for common emails : app/design/frontend/Vendor/Theme/web/css/source/_email-extend.less
Add your custom less variables here for common emails : app/design/frontend/Vendor/Theme/web/css/source/_email-variables.less
Add your custom styles here for sales emails : app/design/frontend/Vendor/Theme/Magento_Sales/web/css/source/_email.less

Could you please give me a tip?

Thank you in advance.


Hi Craig,

I worked it out. You can remove the post.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.