Support » Themes and Templates » style.css does not affect h2 font size in sidebar

  • mugger

    (@mugger)


    I have tried this in 2 themes, edit styles to change font size of titles in sidebar. Sucessful at changing font family, but new point size has absolutely no effect. HOW is this so?

Viewing 5 replies - 1 through 5 (of 5 total)
  • link to your url so we may peep your css please

    Michael

    (@alchymyth)

    Forum Moderator

    some themes style the h2 title tag in the sidebar with an extra css statement – for instance something like:
    #sidebar h2 { font-size: 12px; }
    you will find this, or something similar, further down in the style.css file.

    mugger

    (@mugger)

    I did find link to style in source of http://tips-wordpress.com, so you should also.
    #sidebar h2 is not present.

    Michael

    (@alchymyth)

    Forum Moderator

    make a new style and add it to style.css:
    h2.widgettitle {font-size: 22px; }

    mugger

    (@mugger)

    alchymyth, that worked great. Thanks! (I used 12pt.)
    What might the equivalent be for Page/Post titles?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘style.css does not affect h2 font size in sidebar’ is closed to new replies.