I'm using font-face on my site and it loads normally when typing the link with www.ksleague.com, however, when typing the link without the www, it does not pull the font-face. How do I resolve this?
I'm using font-face on my site and it loads normally when typing the link with www.ksleague.com, however, when typing the link without the www, it does not pull the font-face. How do I resolve this?
Instead of using the entire path of .css
, use the relative path:
Instead of "http://www.ksleague.com/_css/component.css"
Use "_css/component.css"
This is because when you use the entire path, you can give the "same source policy" error if you omit the "www" at the site address.