WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Where to find font code for sidebar?

[Resolved] Where to find font code for sidebar?

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

    @wpyogi

    Forum Moderator

    Sorry, same answer = Firebug. You need to learn to use it if you want to modify CSS. Here’s an example – for the titles – Firebug shows the HTML:

    <h2 class="widget-title">Recent Posts</h2>

    and it shows the ACTIVE CSS as this:

    #secondary h2.widget-title, #secondary h2.widget-title a:link, #secondary h2.widget-title a:visited {
        background-color: #603029;
        background-image: url("img/gbg.gif");
        border-radius: 5px 5px 5px 5px;
        color: #FFFFFF;
        font-family: Unna,Garamond,"Times New Roman",serif;
        font-size: 2.1rem;
        font-weight: normal;
        line-height: normal;
        margin: 0 0 10px;
        padding: 5px 8px;
    }

    So then you copy only the portion of that CSS to your child theme that you want to change and make the change there:

    #secondary h2.widget-title, #secondary h2.widget-title a:link, #secondary h2.widget-title a:visited {
        color: #FFFFFF;
    }

    LOL! Ok…ok..I’ll go find out how to use it. 🙂

    Thanks for all your help!

    WPyogi

    @wpyogi

    Forum Moderator

    Happy to – it’s actually pretty easy to use – and you won’t believe how useful it will be for you :)!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Where to find font code for sidebar?’ is closed to new replies.
Skip to toolbar