Hi again,
im trying to install a non google font on my website, but its displaying another font. my quick css for adding the font:
@font-face {
font-family: 'gotham_bookregular';
src: url('fonts/ufonts.com_gotham-book-webfont.woff2') format('woff2'),
url('fonts/ufonts.com_gotham-book-webfont.woff') format('woff');
font-weight: normal;
font-style: normal; }
The CSS for adding the font to <p> tag with a custom class
.BM_tekst1{
font-family: 'gotham_bookregular';
}
And I did add the files to the rootfolder /fonts following this guide http://justcreative.com/2013/01/22/how-to-use-custom-fonts-with-font-face-on-wordpress/
i have linked to my website in the private content. Can anyone give me some tips?
Hi bobvanetten!
Do you mind posting WP admin and FTP logins here privately?
Cheers!
Yigit
Here you go
Hey!
Please post FTP logins here privately as well. I have fixed your custom CSS to target the correct path however fonts still cannot be found.
Regards,
Yigit
well you only have woff2 and woff Files – my advice is to create all the webfont files (woff, woff2, eot, svg, ttf)
i don’t know if it is necessary but with these fonts i have a positive loading of the gotham font package (created from gotham regular otf via Fontsquirell)
by the way if you are looking for a nearby Proxima Nova or Gotham have a look to Montserrat Google Font
The G is a bit different and the M
Hi Yigit,
I cannot post my ftp login here, as it is for a large test server. Could you direct me in what I’m doing wrong? I posted a screenshot in the private content.