I’m developing a site in Local and I have a ttf font file downloaded on my computer. However, there is an error message on the Console explaining that the font file isn’t found.
This isn’t a problem in local development, and I think the fix will be to edit the wp.config file when the site is hosted. But if I use the Live Link the font doesn’t load.
Hi @hyphencoding - welcome to the Local Community!
Thank you for bringing your question here.
When you’re using the font, are you using the full URL or just the relative URL?
I’m wondering if you’re using the full URL and then with Live Links enabled it’s not seeing that file.
Let me know if that makes sense,
Thanks for your response.
I’m using relative URLs, but I’ve also tried adding full URLs with the live link address too.
I have to be honest and say I’m not overly familiar with font-face and setting it up.
Here’s what I’ve got:
src: local('/assets/fonts/webfontkit/madelyn-webfont.woff') format('font-woff'),
I’m not sure if I’m completely messing it up by using multiple sources like that?
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.