0

I want to know how we can use our custom fonts rendering inside email template. I searched a lot to this answer but didn't find how to do that.

So far I have already changed the content of email-fonts.css and email-inline.css and put my font-face declaration in the email-fonts.css file.

@font-face {
 font-family: 'museo_sans500';
 src: url('../fonts/museosans_500-webfont.woff2') format('woff2'), url('../fonts/museosans_500-webfont.woff') format('woff');
 font-weight: normal;
 font-style: normal;
 }

But I am only getting the font-family being applied to the element and actual font is not rendering in email template inside gmail. Font location is also local as in case of luma theme.

asked Nov 1, 2019 at 17:05

1 Answer 1

1

The only webfonts that Gmail currently supports are Google Sans and Robot. Referenced here: https://litmus.com/blog/the-ultimate-guide-to-web-fonts

Your problem with them rendering in the gmail client is because the fonts you are using are not either of the two Gmail supported webfonts.

answered Nov 1, 2019 at 18:16

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.