WordPress.org

Ready to get started?Download WordPress

Forums

Use own font other than fonts from Theme Setting (5 posts)

  1. techtoll
    Member
    Posted 1 year ago #

    I want to use my own font in the theme but i am not able to do because font is controlled from theme setting page.
    I have used @font-face after uploading the theme in my server but that doesn't work.
    Theme settings has very limited and outdated fonts.

    Please help. My site is http://www.techtoll.in

  2. Sage Brownell
    Member
    Posted 1 year ago #

    Not the best solution, but go into your Dashboard > Appearance > Editor > style.css

    At the bottom of it, place in the following code:

    body {
        font-family: Droid Sans,serif !important;
    }

    (but with the new font family, and leaving the "!important" part alone)

    Not the best solution because it will disappear if you update your theme. If your theme has a custom.css, or a css editor in the theme options, use that instead. Another way would be to create a child theme.

    Hope that helps!

  3. esmi
    Forum Moderator
    Posted 1 year ago #

    I'm sorry but as you are using a commercial theme, you really need to seek support from the theme's vendors.

  4. techtoll
    Member
    Posted 1 year ago #

    Thanks a lot Sage Brownell.. It worked pretty well.

    Just wanted to ask if i can use different fonts for heading and body too?

    Also can I use a font that might not be in user's system? like using @font-face??

    Thank you

    [No bumping. If it's that urgent, consider hiring someone.]

  5. Sage Brownell
    Member
    Posted 1 year ago #

    Just wanted to ask if i can use different fonts for heading and body too?

    You can. I would suggest looking into learning css if you would like to start doing things like that, though. Make sure to use !important in your css though, or you probably wont see any changes on your site.

    You can use a font that is not in the user's system, but you always need a fall-back. Again, you'd learn all that with css :)

Topic Closed

This topic has been closed to new replies.

About this Topic