WordPress.org

Ready to get started?Download WordPress

Forums

Where is widgettitle? (4 posts)

  1. JimPMM
    Member
    Posted 6 years ago #

    Hi
    I'm in the process of customising a WordPress installation for a client and I'm fairly new to WordPress. My problem is that I want main content headings h2 fonts to appear the same as the Widget headings h2 fonts. I can see from the source code that widget h2 headings are defined as <h2 class="widgettitle"> and what I really want is to have a look at the CSS code for .widgettitle h2, to match the font that the widget h2 title is using.
    My question is....where on earth can I find the CSS code for "widgettitle"? I've spent several hours looking and am pretty much at my wits end with this.
    Any help greatly appreciated.
    Regards
    Jim

  2. markdw
    Member
    Posted 6 years ago #

    a link to your site would help so I can diagnose the problem.

  3. wxwx
    Member
    Posted 6 years ago #

    create new widgettitle to the css :)

    h2.widgettitle { font:bold 12px Verdana, Arial, Sans-Serif;}

  4. JimPMM
    Member
    Posted 6 years ago #

    Many thanks guys
    I've managed to sort it out in a roundabout sort of way! I created the new h2 definition for the main content (changing the fonts till it looked right!) as suggested above. It was really the other way round that I wanted though - I liked the font in the widgettitle class, but couldn't find anywhere that class was defined. Still, never mind.
    Cheers
    Jim

Topic Closed

This topic has been closed to new replies.

About this Topic