Home › Forums › Support › @font-face This topic has 6 replies, 2 voices, and was last updated 8 years, 8 months ago by Tom. Viewing 7 posts - 1 through 7 (of 7 total) Author Posts August 6, 2015 at 6:26 am #127066 Adrian Cojocariu @font-face { font-family: 'avenida'; src: url(http://www.website.com/wp-content/themes/exhibit/fonts/avenida.ttf) format('truetype'); font-weight: normal; font-style: normal; } I just can’t get it to work … .main-navigation a { font-family:avenida !important; font-size:15px; } I placed it in exhibit css in generatepress css and in custom css, all combinations… it isn’t working. What’s wrong ? August 6, 2015 at 6:42 am #127069 Adrian Cojocariu I guess I need woff… thought chrome would read ttf … but it says it will read ttf… i really don’t know August 6, 2015 at 9:20 am #127116 TomLead Developer Lead Developer You need a few more font types: https://css-tricks.com/snippets/css/using-font-face/ You can generate the necessary files here: http://www.fontsquirrel.com/tools/webfont-generator August 6, 2015 at 10:31 am #127136 Adrian Cojocariu Tells me the file is corrupt, but with Use Any Font plugin it worked. The problem with that plugin is that I can only install 1 font. August 6, 2015 at 10:47 am #127140 Adrian Cojocariu Converted it to OTF then created the webkit, hope it works. August 6, 2015 at 11:10 am #127148 Adrian Cojocariu Thanks Tom ! ๐ It worked, adding all that code to the CSS fixed it. August 6, 2015 at 11:20 am #127149 TomLead Developer Lead Developer Perfect – glad I could help ๐ Author Posts Viewing 7 posts - 1 through 7 (of 7 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In