Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Jordan Watson
14,738 PointsFont import not working in outlook? falls back to new Times Roman
I have been creating a email template and when i do a test send and view it in outlook for the desktop and web the font falls back to new times roman even though i have a font import which is open sans from google fonts its wrapped in the style tag and Open Sans i have referenced it ever where it is being used. I have set it on the body selector and inline any suggestions would be helpful.
2 Answers
geoffrey
28,736 PointsI've been working a lot of HTML emails lately, so that's an interesting question. I've found this article which might give you a solution.
Check the comments as well, apprently this can be fixed using a media query or a conditional style for outlook.
Hope this helps a bit.
Tim Knight
28,888 PointsJordan,
You might be interested in checking out https://www.campaignmonitor.com/resources/guides/web-fonts-in-email/. It goes through all of the details on importing them into an email. There's also a section you might find particularly interesting called, "Outlook web font bug & the joy of Times New Roman"