WordPress.org

Support

Support » Themes and Templates » Changing font in child theme

Changing font in child theme

  • Hello,
    Hoping for a bit more help. I’ve learned my lesson from last time and am now working with a child theme via FTP, and quite proud of myself! However I need to change the font in the site title and don’t want to just change h1 and h2 in case I override something somewhere else that I don’t want to change. I’m using firebug, and it appears that the bits I want to change are the following
    <hgroup>
    <h1 id=”site-title”>
    <span>
    The Good Shelf Company
    </span>
    </h1>
    <h2 id=”site-description”>Handmade in the UK</h2>
    </hgroup>

    Can someone please help me out with the correct code. I know that I have to chose the font or font family and how to make it bold or chose the size, it’s simply that I’m not sure how to specify only the title area. I plan on putting it in the style.css of my child theme

Viewing 3 replies - 1 through 3 (of 3 total)
  • oops – included link, duh! obviously it’s just an <a ref but it’s the font included in it that I want to change.

    May have just found my own answer:

    #site-title a {
    color: #111111;
    font-size: 30px;
    font-weight: bold;
    line-height: 36px;
    text-decoration: none;
    }a

    Is that what I need to modify?

    WPyogi

    @wpyogi

    Forum Moderator

    Yep, copy the part you want to change to the child theme and change it there – good going :)!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing font in child theme’ is closed to new replies.
Skip to toolbar