Problems with @font-face
-
Hi!
I have wordpress installed locally and I am working in the css theme.
I would like to have a very thin font in the header but when I make the font-size bigger it also gets bolder (much much bolder than in photoshop at the same size).I tried to change the font-weight but doesn’t work. The code is
#header { background: #fff; color:#d51966; font-size:4em; padding: 30px 5px 40px 5px; font-family: 'josefin_sans', sans-serif;
I use @font-face to personalized the font.
@font-face { font-family: 'josefin_sans'; src: url('fonts/josefinsansstd-light-webfont.eot'); src: url('fonts/josefinsansstd-light-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/josefinsansstd-light-webfont.woff') format('woff'), url('fonts/josefinsansstd-light-webfont.ttf') format('truetype'), url('fonts/josefinsansstd-light-webfont.svg#josefin_sans_stdlight') format('svg'); }
Hope any of you help me!
Thanks, Aldara.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Problems with @font-face’ is closed to new replies.