How to change h4 colour?

  • Author
    Posts
  • #906805

    tanyameyers
    Member

    Hi there,

    I’m pretty sure this is a CSS problem — I’m trying to make the headline colour (“Pregnancy Massage”) match the header colour (“Tanya Meyers” text) on this page: http://tanyameyers.com/faq/

    I tried adding:

    h4, {
    color:#DA0A0A;
    }
    to the CSS Stylesheet Editor but it doesn’t change the colour. I’d appreciate knowing what I’m doing wrong!

    Thanks!

    The blog I need help with is tanyameyers.com.

    #906955

    joshidaniel
    Member

    Hi,

    Try this:

    strong, dfn {
    font-weight: bold;
    color: #da0a0a;
    }

    #906961

    justpi
    Member

    @JD: This will make all bold text red.

    @TM: What you’re doing wrong is you’ve typed a comma after “h4”. (The comma should be there only if you wanted to apply the same change to two elements, for instance “h4,h5”.)
    After you add the corrected code to the CSS editor, you must of course remove the color span tags from the HTML editor.

    #907081

    tanyameyers
    Member

    Thanks to both of you! I appreciate the help….especially b/c I’m (obvously!) not that familiar w/ CSS.

The topic ‘How to change h4 colour?’ is closed to new replies.