WordPress.org

Support

Support » Themes and Templates » Updating Fonts

Updating Fonts

  • Hi,

    I’m looking to changing fonts to something else other than what was provided in the template. How would I be able to remove the default fonts that are being currently used in the customizations?? I am trying to use pt sans as the h1 fonts. Every time I think I have done it correctly it’s wrong.

    Any help is good, thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • This has been a tad frustrating! I still can’t get it to do it that way I’d like, but I have found a workaround for you:

    For some reason, the custom css option that’s with the theme won’t recognize the import to make PT Sans available; so this leaves two different options (as far as I’ve been able to find)

    1. You can use a custom css plugin to use the @import

    or

    2. You could use a child theme to make your changes that way

    I prefer to use child themes, but for the sake of testing I just used a custom css plugin and the following:

    @import url(http://fonts.googleapis.com/css?family=PT+Sans);
    
    h1 {
        font-family: 'PT Sans', sans-serif !important;
    }

    Hope that helps!

    I used the Custom CSS by Jetpack and it seems to work. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Updating Fonts’ is closed to new replies.