Fonts not loading on Safari/iOS?
Hey, I have my font rules set as woff2 files and it works fine on PC and edge on my Mac, but safari and all iOS browsers use the fallbacks. In inspect element, I'm getting a 400 error on the font files, which I can only assume is because I'm not using a full file path and am just listing the filename. My files are stored on Google Drive in a (underscore)Fonts folder. What's the appropriate full file path i should be targeting here?
You're correct, the path to the fonts was not accurate. The path should be something like this:
@font-face {
font-family: 'MyWebFont';
src: url('/_fonts/myfont.woff2') format('woff2');
}
The trick is to start the path with /_fonts (or /_Fonts depending on the case you're using). Please let me know if I can help with this or anything else
Amazing, that got it, thanks