WordPress.org

Ready to get started?Download WordPress

Forums

How to make h1, h2 headings bold (4 posts)

  1. bananadogs
    Member
    Posted 2 years ago #

    Hello All.

    I have been struggling making h1, h2, h3, h4, h5, h6 become bold.
    Here is the coding.

    h1,h2,h3,h4,h5,h6 { font-style: normal; font-weight: bold; color: #41A317;}
    h1{font-size:25px}
    h2{font-size:23px}
    h3{font-size:21px}
    h4{font-size:19px}
    h5{font-size:17px}
    h6{font-size:15px}

    This should be working, but it only seems to be applying to h3, h4, h5, h6, and not h1 and h2.
    http://www.bananadog.com/about/today/sample/

    I have been struggling for days but still cannot come up with a solution. Sorry that it's such a simple question, but I would strongly appreciate if you could advise what I am doing wrong.

    Thanks very much all the time.

    Best,
    Banana Dog
    http://www.bananadog.com/en

  2. bananadogs
    Member
    Posted 2 years ago #

    Also h2 doesn't come in green.

  3. csleh
    Member
    Posted 2 years ago #

    You might want to view pages in Firefox with the free Firebug, it will help you see what's going on in cases like this.

    The h2 is getting styles from a lot of places:
    - it's dark green color is on line 591, .post h2
    - If you delete that color, it becomes blue from line 561, .post h2
    - Also on line 561 .post h2, it has font-weight:normal
    - But also getting blue from line 551, .leftpanel h2

    if you delete all those css styles, the h2 becomes bold, light green like the other headings.

  4. bananadogs
    Member
    Posted 2 years ago #

    I decided not to mess with this...

    Thank you very much!!!!!

    Banana Dog

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags