Tagged: Fonts
Hi,
I like to use Museo Sans Condensed Font in the theme, What is the best way to add this font?
Is there a quick css code I can use?
Thanks,
Hi skynandi!
Please refer to Peter’s post here https://kriesi.at/support/topic/new-custom-font/#post-121900
Cheers!
Yigit
I see it thanks.
I’ve uploaded my preferred font: Museo Sans Condensed Font to the enfold CSS theme.
What is the code I have to add to quick CSS?
Thanks for the help.
Hi!
You can declare it on custom.css:
@font-face { font-family: Museo Sans Condensed; src: url(‘Museo-Sans-Cond.otf’); }
@font-face { font-family: Museo Sans Condensed; font-weight: bold; src: url(‘Museo-Sans-Cond.otf’); }
You can now apply it on any element using this:
body, body p {
font-family: Museo Sans Condensed;
}
Best regards,
Ismael
ok, I’ve added it to my custom.css file and called it with the code you provided,
what happens is the second half of the home page body font turns to Times Roman
and the first half remains Open Sans.
and what is the code to change the header fonts?
Thank You for your help
Hey!
You need to make sure that the url of the font is correct. Where did you put the font files? It is actually easier if you get fonts from Google Fonts. Did you buy the Museo Sans Condensed font? As far as I know, it is a premium font from http://www.myfonts.com/fonts/exljbris/museo-sans-cond/.
Regards,
Ismael
I’ve uploaded the fonts to the enfold/css folder and they have a name like:
MuseoSansCnd-300.otf
MuseoSansCnd-500.otf
etc..
I have them from an other theme I’ve purchased from envanto.
I’d like to use this for my header too.
Thanks for helping me with this.
Hi!
Please refer to this tutorial http://wpmu.org/adding-custom-fonts-to-wordpress-with-font-face-and-css/
Regards,
Yigit