How to change h4 colour?

  • Unknown's avatar

    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: (visible only to logged in users)

  • Unknown's avatar

    Hi,

    Try this:

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

  • Unknown's avatar

    @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.

  • Unknown's avatar

    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.