• Resolved zeaks

    (@zeaks)


    I’ve made plenty of child themes using Twenty Ten and Twenty Eleven.

    Is it just me or is there something preventing certain elements from being overridden in child themes for Twenty Twelve?

    For example, using the following does not do anything unless !important is used.
    #page {} background-color: #000; }
    or
    body, body.custom-background { background-color: #000;}

    In previous default theme version these would easily be overridden in a child theme.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Have you compared them against the css output into the html source?

    for instance that body.custom-background is output directly into the head section in the html output – so it’s gonna take precedence over any stylesheet unless !important is used

    Dunno if all of your css is affected the same way….

    Thread Starter zeaks

    (@zeaks)

    Thanks. I think I have it all sorted out. It’s just a bit different than Twenty Eleven, once I was familiar with the new classes and the way the theme worked it started to come together.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Twenty Twelve child theme issue’ is closed to new replies.