Tagged: Fonts
-
AuthorPosts
-
December 3, 2013 at 5:15 pm #195826
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,
December 3, 2013 at 7:07 pm #195853Hi skynandi!
Please refer to Peter’s post here https://kriesi.at/support/topic/new-custom-font/#post-121900
Cheers!
YigitDecember 3, 2013 at 7:19 pm #195859I 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.
December 4, 2013 at 11:09 am #196085Hi!
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,
IsmaelDecember 4, 2013 at 7:22 pm #196327ok, 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
-
This reply was modified 11 years, 11 months ago by
skynandi.
December 5, 2013 at 1:55 am #196440Hey!
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,
IsmaelDecember 5, 2013 at 2:25 am #196454I’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.
December 5, 2013 at 5:44 am #196510Hi!
Please refer to this tutorial http://wpmu.org/adding-custom-fonts-to-wordpress-with-font-face-and-css/
Regards,
Yigit -
This reply was modified 11 years, 11 months ago by
-
AuthorPosts
- The topic ‘How to add Fonts to the Theme and Layerslider’ is closed to new replies.
