why font-feature-settings: styleset(ss01) isn't working on outfit font ?

<h3 class="t">t</h3>
.t {
font-family: 'Outfit';
font-size: 2.3rem;
color: #fff6e2;
font-feature-settings: styleset(ss01) !important;
}
.t {
font-family: 'Outfit';
font-size: 2.3rem;
color: #fff6e2;
font-feature-settings: styleset(ss01) !important;
}
tried everything but why it's not working on google it says use font-feature-settings: styleset(ss01) or font-variant-alternates: styleset(ss01) i tried both but not working. anyone have any idea ?
No description
No description
4 Replies
Anurag M
Anurag M2mo ago
If you are importing directly from google fonts using @import it may strip advanced features like ss01 Try to import the whole font file. And is the syntax correct? not sure if styleset works with font-feature-settings
peterpumkineaterr
peterpumkineaterrOP2mo ago
well i'm using this for email i'm not sure if we can setup with whole file.
Anurag M
Anurag M2mo ago
That maybe the problem. Email clients may strip the advanced typography settings. I think you'll have to rely on basic fonts or you'll have to convert text to img.
curiousmissfox
curiousmissfox2mo ago
HTML emails are like writing code in the 90s— at least if you want to ensure it’s compatible in as many email clients as possible. Like Anurag said, you may need it to be an image instead. Many clients will even strip svg for security .

Did you find this page helpful?