Can I use Google fonts in emails?
Is it possible to embed Google fonts in email templates? I've been successful using them in landing page templates, but I can't find any documentation related to email templates.
Is it possible to embed Google fonts in email templates? I've been successful using them in landing page templates, but I can't find any documentation related to email templates.
Don't use <link> or @import (these do the same thing by the way), you should include the CSS in the actual email. You also want to inline as much of the CSS as possible in emails. Specify font-family of HTML elements using inline styles and also make sure to define with fallbacks.
In the <head>, you can add something like (instead of <link>):
| <style> | |
| @font-face { | |
| font-family: 'Raleway'; | |
| font-style: normal; | |
| font-weight: 400; | |
| src: local('Raleway'), url(fonts.gstatic.com/s/raleway/v9/UAnF6lSK1JNc1tqTiG8pNALUuEpTyoUstqEm5AMlJo4.ttf) format('truetype'); | |
| mso-font-alt: 'Arial'; | |
| } | |
| @font-face { | |
| font-family: 'Raleway'; | |
| font-style: normal; | |
| font-weight: 700; | |
| src: local('Raleway Bold'), local('Raleway-Bold'), url(fonts.gstatic.com/s/raleway/v9/JbtMzqLaYbbbCL9X6EvaI8DdSZkkecOE1hvV7ZHvhyU.ttf) format('truetype'); | |
| mso-font-alt: 'Arial'; | |
| } | |
| </style> |
Then, just use the font by attaching the style attribute on the HTML elements (with fallbacks).
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.