Magento – Change font in order email

magento-2.1magento-2.1.3magento-2.1.4magento2magento2.1.0

I am trying to override the default email font with the one from my theme. For instance, if I want to change the font for New Order email (sales), where and how should I make this change?

Thanks

Best Answer

You'll want to go into the templates from the admin area: Marketing --> Email Templates

... and then you'll want to edit a template using inline CSS formatting.

HTML for email is a whole different animal. Due to security restrictions, you usually cannot load external stylesheets, so everything needs to be done in-line.

Here's a quick code example:

<p><span style="font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #000000;"><strong>Thanks for your recentl order from our store.  We are thrilled to be shipping it out to you today.</strong></span></p>

I hope this helps...

Related Topic