change site title font size

Home Forums Automattic On a Whim change site title font size

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #162611 Resolve

    eliserobins

    Hello! Sorry for the basic question, but I’ve been combing through the css file and I can’t figure out which selector I need to designate in order to change the font size of the site title. Thanks so much for your help!

    #162613

    Kathryn P.
    Happiness Engineer

    Hi there, the easiest way to find a specific selector is by using a browser inspector, like the one built into Chrome or Firefox.

    I right-clicked the site title in On a Whim and saw in my browser inspector that you can use this selector to change its size:

    .site-title {
        font-size: xxxx;
    }

    Replace xxxx with your font size and unit.

    Here are some very helpful posts that will help you customize your site with CSS:

    https://dailypost.wordpress.com/2013/07/25/css-selectors/

    http://dailypost.wordpress.com/2013/06/21/css-intro/

    http://dailypost.wordpress.com/2013/08/29/css-matched-rule-pane/

    http://en.support.wordpress.com/custom-design/how-to-find-your-themes-css/

    Just let me know if you need further help.

    #162614

    eliserobins

    Thanks, Kathryn. I had tried that selector, and just tried it again, copying your code and changing size to 12px in the CSS editor, but no luck. Here’s my website if that helps:

    stangerandrobins.com

    Thanks so much for your help.

    #162615

    Kathryn P.
    Happiness Engineer

    It looks like you’ve added comment tags around your code, which prevents it from being applied:

    /*
    
    .site-title {
        font-size: 12px;
    }
    
    */
    

    Remove these lines:

    /*
    */

    Comment tags are for internal notes you want to leave in your code, or code you want to temporarily prevent from taking effect.

    Let me know how it goes!

    #162617

    eliserobins

    D’oh! It’s been a while since I’ve done CSS (obviously). Thank you so much!!

    #162618

    Kathryn P.
    Happiness Engineer

    You’re very welcome! I’m marking this thread as resolved but don’t hesitate to start a new one if you need help with anything else.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.