Custom font upload is not working?
Hello,
I added a custom font to the font editor and selected the style. In the frontend I do see this message and the style is not applied:
Refused to apply style from 'https://domain.com/?brizy-font=yreydhhcyglaxwtaahnbqptpbtcqpxvzqong%3A400%2C700' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
Do you know why this happens and how I can prevent that from happening? I downloaded Open Sans from this Google Web Font helper https://google-webfonts-helper.herokuapp.com/fonts
Thanks.
-
Hi,
I have not encountered this problem before. Are these errors in the browser console? Have you tried checking in another browser? Do you have the same message?
0 -
Hey Alex,
I get this error in the browser console on Firefox and Chrome.
0 -
Hey Alex,
I switched to TwentyNineteen and the error is gone. So I believe this issue was related to the underlying theme which was used.
0 -
Glad to hear that.
Let us know if you need anything else.
0
Please sign in to leave a comment.
Comments
4 comments