WordPress.org

Ready to get started?Download WordPress

Forums

Spun
[resolved] Changing font of title to google font (6 posts)

  1. meredithcoe
    Member
    Posted 8 months ago #

    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.

  2. WPyogi
    Volunteer Moderator
    Posted 8 months ago #

    Try:

    h1.site-title {
    ...
    }

    Are you using a custom CSS plugin?

  3. meredithcoe
    Member
    Posted 8 months ago #

    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.

  4. meredithcoe
    Member
    Posted 8 months ago #

    Ok I think I just fixed it...

  5. meredithcoe
    Member
    Posted 8 months ago #

    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 :)

  6. meredithcoe
    Member
    Posted 8 months ago #

    Thanks for the help!

Reply

You must log in to post.

About this Theme

About this Topic