WordPress.org

Ready to get started?Download WordPress

Forums

style.css does not affect h2 font size in sidebar (6 posts)

  1. mugger
    Member
    Posted 4 years ago #

    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?

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    link to your url so we may peep your css please

  3. alchymyth
    Forum Moderator
    Posted 4 years ago #

    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.

  4. mugger
    Member
    Posted 4 years ago #

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

  5. alchymyth
    Forum Moderator
    Posted 4 years ago #

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

  6. mugger
    Member
    Posted 4 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic