Sorry, I can see that this has been asked a few times now but I have tried a lot of possible solutions and checked everything is correct, which I am sure it is, and yet in Firefox my css declaration is reverting to the 2nd font in the list rather than using the @font-face font. I am not entirely sure how to check the font is being loaded or if there are any issues through Firebug, otherwise that would be my next step.
Can anyone see why please:
- The site in question is www.jondell.co.uk and it is the text next to the phone, info and facebook icons toward the bottom of the page
- The fonts are stored in a folder called fonts (all lower case) and this folder is in the same folder as the stylesheet (this is a Wordpress site so both are in the theme folder)
- My CSS for the font declaration and where I use it is:
Code:@font-face { font-family: 'NoteThisRegular'; src: url('fonts/Note_this-webfont.eot'); src: url('fonts/Note_this-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/Note_this-webfont.woff') format('woff'), url('fonts/Note_this-webfont.ttf') format('truetype'), url('fonts/Note_this-webfont.svg#NotethisRegular') format('svg'); font-weight: normal; font-style: normal; } #icons-container p { font-family: "NoteThisRegular", "Lucida Handwriting", Helvetica, sans-serif; font-size: 1.05em; }- The fonts are all uploaded to the server and I have just re-created them at Font Squirrel to be sure (the font is from there anyway so no issues with usage).
If anyone can help please, it is driving me made.



Reply With Quote





Bookmarks