You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently trying to build an email template with two custom fonts: one's hosted on AWS and another on typekit. I tried using the Font component for the AWS-hosted font but noticed that it was applying to the entire template. Unfortunately, this isn't feasible since this font is meant for headers only and not the body content.
I tried including a style tag inside Head with a @font-face declaration as well as an @import(typekit url here) but I'm not sure if my approach was correct, so I was wondering if anyone here has tried doing this before?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there!
Currently trying to build an email template with two custom fonts: one's hosted on AWS and another on typekit. I tried using the
Font
component for the AWS-hosted font but noticed that it was applying to the entire template. Unfortunately, this isn't feasible since this font is meant for headers only and not the body content.I tried including a
style
tag insideHead
with a@font-face
declaration as well as an@import(typekit url here)
but I'm not sure if my approach was correct, so I was wondering if anyone here has tried doing this before?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions