css - Font-face not working with Sass -


i think know i'm doing when comes font-face , sass, not time seems.

i'm trying use http://www.fontsquirrel.com/fonts/theano-didot on http://tjob.be/. used fontsquirrel generator ttf usual , files seem fine.

so why isn't showing correct font?

the heading instance, says "tjobbe andrews freelance photographer , web designer" should in font, not georgia.

i'm getting same cross-browser, mobile , desktop.

totally stumped.

relevant css:

h1, h2, h3, h4, h5, h6 {   font-family: "theano_didotregular";   src: url("theanodidot-regular-webfont.eot");   src: url("theanodidot-regular-webfont.eot?#iefix") format("embedded-opentype"),          url("theanodidot-regular-webfont.woff") format("woff"),         url("theanodidot-regular-webfont.ttf") format("truetype"),         url("theanodidot-regular-webfont.svg#theano_didotregular") format("svg"); } 

relevant html:

<h2>tjobbe andrews freelance photographer , web designer</h2> 

try :

@font-face {     font-family: "theano_didotregular";     src: url("<correctpathofthefile>/theanodidot-regular-webfont.eot");     src: url("<correctpathofthefile>/theanodidot-regular-webfont.eot?#iefix") format("embedded-opentype"),      url("<correctpathofthefile>/theanodidot-regular-webfont.woff") format("woff"),     url("<correctpathofthefile>/theanodidot-regular-webfont.ttf") format("truetype"),     url("<correctpathofthefile>/theanodidot-regular-webfont.svg#theano_didotregular") format("svg"); }  h2 {     font-family: "theano_didotregular"; } 

it should works ;)


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -