Support » Themes and Templates » Twenty Ten – Issue with CSS for the Sidebar

  • Resolved dg5

    (@dgerlach)


    I have created a child theme of Twenty Ten. All I did was create a style.css to override the style.css in the Twenty Ten theme. Works great. Nice and simple. But while my CSS changes to the header and the main column work, none of the changes work for the sidebar. It works in FIrebug, but then when I add to the style.css, it remains the same. Anyone have an idea why and how I can do this?
    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Michael

    (@alchymyth)

    Forum Moderator

    can you post a link to your site?

    davidgerlach.com
    thanks

    fyi
    this is code i put into style.css, exactly copied from firebug as i did for changes to main column and navigation bar.

    .widget-title {border: solid 1px #999999; padding-bottom: 5px;}

    you tried div#primary etc {} ?

    hmm. not .widget-title ?

    Michael

    (@alchymyth)

    Forum Moderator

    you have (at least) one mistake in your style.css

    #access ul li.current_page_item > a, #access ul li.current-menu-ancestor > a, #access ul li.current-menu-item > a, #access ul li.current-menu-parent > a {
        color: #FFFFFF;
        background: #ff0000;
    
    /*Sidebar*/

    (missing } )

    which stops the styles further down from being applied.

    try to run http://jigsaw.w3.org/css-validator/ for instance

    fixed that. thanks for pointing out what was missing. looks like css is working now. many thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Twenty Ten – Issue with CSS for the Sidebar’ is closed to new replies.