Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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,

    #195853

    Hi skynandi!

    Please refer to Peter’s post here https://kriesi.at/support/topic/new-custom-font/#post-121900

    Cheers!
    Yigit

    #195859

    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.

    #196085

    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

    #196327

    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

    • This reply was modified 11 years ago by skynandi.
    #196440

    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

    #196454

    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.

    #196510

    Hi!

    Please refer to this tutorial http://wpmu.org/adding-custom-fonts-to-wordpress-with-font-face-and-css/

    Regards,
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘How to add Fonts to the Theme and Layerslider’ is closed to new replies.