Hi! I have uploaded a custom font to my webshop which shows perfectly on desktop in the headings but never on mobile. I have tried all the solutions under similar posts, but nothing worked.
I have uploaded all font types into Assets and inserted the following code into base.css:
@font-face {
font-family: “FashionFetish”;
src: url({{ FashionFetish | asset_url }}) format(“woff2”);
src: url({{ FashionFetish | asset_url }}) format(“woff”);
src: url({{ FashionFetish | asset_url }}) format(“otf”);
src: url({{ FashionFetish | asset_url }}) format(“svg”);
src: url({{ FashionFetish | asset_url }}) format(“ttf”);
}
h1{
font-family: “FashionFetish”;
}
h2{
font-family: “FashionFetish”;
}
h3{
font-family: “FashionFetish”;
}
Could you please tell me how to fix it for mobile view?
Thanks in advance!