21
Views
1
Comments
Multiple font family for email templates
Application Type
Reactive

Hello,

I'm developing email templates for a multi brand portal. For every brand, the email templates will have different design with different font-family. and for the screens in the portal, the font-family will be "Arial" throughout. I tried adding different font-family to each container by adding them to resources, but it didn't apply them individually. Unless I apply to "html { font-family: xxx; }', it doesn't take any font. 

I also tried with !important thinking it would be due to specificity but it didnt work.

Thanks,

Aman

Hi Aman,

Be aware that e-mail is notoriously difficult to style, as e-mail apps filter out a lot of the CSS. Using external fonts is almost always impossible, for example.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.