Comments Henrik started the conversationOctober 29, 2015 at 11:55pmHi,1) Can i use my custom font for the entire website text including homepage slides etc.?2) What CSS do i need to add to which file for this to work?I would think i should upload the file to /fonts inside the them folder - is that correct?Many thanks,Henrik Mark 1,973Support repliedOctober 30, 2015 at 10:42amHello Henrik,Here is an article explaining in great detail how to add custom fonts:https://clapat.ticksy.com/article/4290Yes, you need to add the font files in one the theme\'s folders (you can create a new one for example)thanksThank you. Clapat Support https://www.clapat.com/ Review Envato Item Support PolicyHenrik repliedOctober 30, 2015 at 2:56pmHi,I have now created the folder and uploaded the font.The i have added the following to the style.css file:@font-face { font-family: TstarRegular; src: url(theimagefaculty.dk/wordpress/wp-content/themes/newave-theme/fonts/tstar-regular-webfont.ttf); font-weight: normal; }If i paste the URL into my browser it downloads the font, so the path is correct!I then updated all \"font-family\" tags in the style.css but the font does\'t change.How do i get the font to change? Should i change something on the Typography preference page or in another css file?Thanks!HenrikHenrik repliedOctober 30, 2015 at 3:08pmHi again,Forgot the importance of starting the path with \'http://\' - sorry about that!It is working now :-)Thank you for your help!Cheers,Henrik 1,973Support repliedOctober 30, 2015 at 9:39pmAllright! Welcome, glad it\'s working.Thank you. Clapat Support https://www.clapat.com/ Review Envato Item Support Policy Sign in to reply ...
Hi,
1) Can i use my custom font for the entire website text including homepage slides etc.?
2) What CSS do i need to add to which file for this to work?
I would think i should upload the file to /fonts inside the them folder - is that correct?
Many thanks,
Henrik Mark
Hello Henrik,
Here is an article explaining in great detail how to add custom fonts:
https://clapat.ticksy.com/article/4290
Yes, you need to add the font files in one the theme\'s folders (you can create a new one for example)
thanks
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
Hi,
I have now created the folder and uploaded the font.
The i have added the following to the style.css file:
@font-face {
font-family: TstarRegular;
src: url(theimagefaculty.dk/wordpress/wp-content/themes/newave-theme/fonts/tstar-regular-webfont.ttf);
font-weight: normal;
}
If i paste the URL into my browser it downloads the font, so the path is correct!
I then updated all \"font-family\" tags in the style.css but the font does\'t change.
How do i get the font to change? Should i change something on the Typography preference page or in another css file?
Thanks!
Henrik
Hi again,
Forgot the importance of starting the path with \'http://\' - sorry about that!
It is working now :-)
Thank you for your help!
Cheers,
Henrik
Allright! Welcome, glad it\'s working.
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy