Hi,
I have following the instructions here to add a custom font to my theme. It uploads OK to the assets and then I add this code to the theme.liquid file:
@font-face {
font-family: "FKScreamer";
src: url({{"FKScreamer-Medium.woff2" | asset_url }}) format("woff2");
}
… and call the font in the css:
h1 {
font-family: "FKScreamer" !important;
}
… but it is not picking up the font - the font changes from the font selected the theme customiser to a default font but not the uploaded font.
I have tried lads of different ways of calling it in the CSS which work with other standard fonts but not the custom font so I think it is just not finding he font itself?
Can anyone help with what might be causing it?
Thanks