hey @Stewie_Griffin, i had the same question a week ago and managed it with the following code in the projects header:
link rel=“preload” href=“fonts/cicle_fina-webfont.woff2” as=“font” type=“font/woff2” crossorigin=“anonymous”
- rel – this tells the browser to preload the font file.
- href – this is the link to the actual font file. You’ll need to edit it to reflect the font that you want to preload. Better to use the full url of the file location!
- as – this tells the browser that it’s preloading a font file.
- type – this specifies the font file type. You’ll need to change it if you want to preload a different file type.
- crossorigin – this is needed to satisfy a quirk of font preloading, which I’ll mention more in the next sections.
Hope this helps