Twenty Eleven
css code change color for headings doesn't work (3 posts)

  1. Karin-Marijke
    Posted 3 years ago #

    I want to change the color of my H1 headings in my blogs.
    I added this to the CSS Stylesheet Editor:

    h1 {

    The font size changes all right, the color doesn't. I also tried by using a hex code. Doesn't work either.

    What am I doing wrong?

  2. Andrew Nevins
    Forum moderator
    Posted 3 years ago #

    Make sure you're using sufficient specificity of CSS selectors.

  3. Karin-Marijke
    Posted 3 years ago #

    Thank you Andrew,

    So, I can bypass my "problem" by using a H4 heading, and it works, but I would really like to use the H1 heading class [or do you say style?]

    How can I specify the H1 in the paragraphs and exclude the <h1 id="site-title">?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic