0
I am using font-face on my site and it loads normally when typing the link with www.ksleague.com, however, when typing the link without www, it does not pull the font-face. How am I supposed to fix this?
0
I am using font-face on my site and it loads normally when typing the link with www.ksleague.com, however, when typing the link without www, it does not pull the font-face. How am I supposed to fix this?
0
Instead of using the entire .css
, use the relative path:
Instead of "http://www.ksleague.com/_css/component.css"
Use "_css/component.css"
This is because when using the whole path, it may give "same origin policy" error if you omit "www" in the site address.
Browser other questions tagged css font css-font-face www
You are not signed in. Login or sign up in order to post.
Thanks, it helped a lot and it worked!
– Marcos Felipe
@Marcosfelipe Thanks! Success!
– Sam