WordPress.org

Support

Support » Themes and Templates » Spun » [Resolved] Changing font of title to google font

[Resolved] Changing font of title to google font

  • How do I change the font of the title (Meredith Coe Photo) to a google font?
    I’ve tried
    ‘}
    .entry-title a {
    color: #444;
    font-family: ‘Wire One’, sans-serif;
    font-size: 32px;
    font-size: 3.2rem;
    font-style: italic;
    line-height: 1em;
    margin: 0 0 20px 0;
    }’

    and also

    ‘}
    h1 {
    font-family: Wire One
    font-size: 32px;
    font-size: 3.2rem;
    line-height: 1em;
    }’
    Are all google fonts recognized in this theme?

    http://meredithcoephoto.com/

    Thanks in advance for any advice… I’m totally new, but learning.

Viewing 5 replies - 1 through 5 (of 5 total)
  • WPyogi

    @wpyogi

    Forum Moderator

    Try:

    h1.site-title {
    ...
    }

    Are you using a custom CSS plugin?

    Hey WPyogi… thanks for getting back to me so fast. I replaced
    h1 {…..}
    with
    h1.site-title {
    font-family: Wire One
    font-size: 32px;
    font-size: 3.2rem;
    line-height: 1em;
    }
    under the HEADINGS section should I have placed this somewhere else in the CSS? Yes, I am using a custom CSS plugin.

    Ok I think I just fixed it…

    Just so anyone else is wondering how to change the font of your title with Google Fonts.
    After choosing your font and style you’ll see a box “Custom CSS (optional)” I typed in both codes

    h1 {font-family: ‘Elsie’, cursive; font-weight: 400; }

    h1.site-title {font-family: ‘Elsie’, cursive; font-weight: 400;
    }

    Worked like a charm 🙂

    Thanks for the help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Changing font of title to google font’ is closed to new replies.
Skip to toolbar