• Resolved minademas

    (@minademas)


    My customized theme has this on the top of the index

    <div id=”content” class=”container”>

    So, when I try to style a portion of the body with a new

    • for example, it always takes the
    • for ‘content’ instead of the new
    • style.

      So, how can I override a style for lists inside an already styled div id?

      tks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Give the list a class (eg. class=”styled-list”) and then add your CSS using:

    #content .styled-list li {
    }
    Thread Starter minademas

    (@minademas)

    Hey, just wanted to say thanks for the tip. !!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘CSS issue, overriding a ‘div id’’ is closed to new replies.