• Hi,

    Re: Twenty Eleven Child Theme

    I styled my h1, h2, h3… tags and it’s not taking on the new styles. Not sure where I’ve gone wrong. For example, h2 is supposed to be a rust colour.

    https://www.khartist.com/

    h2{
    font-size: 22px;
    color: #8E5720;
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • the h2 tag is formatted as .entry-content h2 { ... } in the parent theme style.css – which is more specific than just h2

    ->

    .entry-content h2{
    font-size: 22px;
    color: #8E5720;
    }

    working with a tool such as Firefox’ add-on Firebug https://getfirebug.com/ or the Firefox web developer add-on could help to identify these formatting issues.

    Thread Starter khartist

    (@khartist)

    It worked. Thanks for pointing me in the right direction!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[TwentyEleven] H tags not working’ is closed to new replies.