Archived topic
Getting Error When Loading Custom Fonts on Chrome
2 replies · Started by mavrocreative on May 1, 2020
I installed custom fonts using @font-face. The fonts load fine in Safari but in Chrome I'm getting this error:
Access to font at 'https://www.byowebsitedesigner.com/wp-content/themes/generatepress-child/fonts/dream_catcher-webfont.woff2' from origin 'https://byowebsitedesigner.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Any ideas as to how to rectify this? Thank you so much!
Donna
I found my answer in another thread! I had "www" included in the path when I didn't need it. Removing it from the @font-face worked!
Glad you've figured out :)