web - Misbehaving woff file - one font loads, the other doesn't -


i'm building website uses 2 purchased fonts, both .woff. 1 loads correctly, other doesn't, , console logs error 'file not found'. quick google suggested might solution: why @font-face throwing 404 error on woff files? however, if case, surely other woff file wouldn't load either? on earth going on? first font works, second not.

@font-face { font-family: unitslabblack; src: local('☺'), url("/fonts/unitslabweb-black.eot"); }  @font-face { font-family: unitslabblack; src: url("/fonts/unitslabweb-black.woff") format("woff"); }  @font-face { font-family: unitslablight; src: url("/fonts/unitslabweb-light.eot"); }  @font-face { font-family: unitslablight; src: url("fonts/unitslabweb-light.woff") format("woff"); } 

you check path - 1 difference see 1 reference begins forward slash , other 1 doesn't.


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -