WordPress.org

Forums

Frontier
[resolved] Adding a New Font Problem (3 posts)

  1. liton1980
    Member
    Posted 1 year ago #

    1. I have download a font from a website (Its not Google fonts) and i want to add it to my website. I don't know what should i do? I think i should upload it to my website and then add it to theme or CSS. I don't know where should i upload it and how to add it to Frontier theme.
    (The font that i downloaded has both .TFF and .OTF formats). Please guide me.
    I want to use this font for title of my posts.
    2. It seems that by default, title of widgets use "Roboto Condensed" font. I want to change this font. How can i do this?

  2. ronangelo
    Member
    Theme Author

    Posted 1 year ago #

    If you've added your font file on your child theme folder then you can add something like this on your child-theme's style.css

    @font-face {
       font-family: MyCustomFont;
       src: url('MyCustomFont.ttf');
    }

    http://codex.wordpress.org/Playing_With_Fonts#Font_Face

    2. It seems that by default, title of widgets use "Roboto Condensed" font. I want to change this font. How can i do this?

    .widget-title {font-family: MyCustomFont;}

    On one of your previous threads I asked if you use Firebug. You said yes. General CSS edits like this should be no problem if you do use web dev tools like Firebug. Maybe you could learn from this post http://ronangelo.com/use-firebug-to-modify-wordpress-theme-css/

  3. liton1980
    Member
    Posted 1 year ago #

    Thanks a lot for your help and that helpful link.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic