Sidebar not displaying list styles

Permalink
Hi Everyone

I'm working on a custom theme, and having problems with my sidebar not displaying my specific list styles from my css - It seems to be inheriting the main list defaults and not the specific ones for the sidebar.

Here's my Page Code:

<div id="sidebarLeft">
        <?php
       $a = new Area('Sidebar');
       $a->setBlockWrapperStart('<li>');
        $a->setBlockWrapperEnd('</li>');
        $a->display($c);
       ?>
        </div>


... and here's my specific css from the main.css

/* Left Sidebar AutoNav Rules for Members Pages */
#sidebarLeft ul{
   list-style: none outside none;   
    margin:0;
    padding:0;
}
#sidebarLeft ul li{
    border-bottom: 2px solid white;
   background-color:#9ebfce;
   vertical-align:baseline;   
}
#sidebarLeft ul li:hover{
   background-color:#759aaa;
}
#sidebarLeft ul li.nav-selected a {


The backgrounds and hovers are coming up ok... it's just the fonts - they are inheriting the default blue for a link, instead of the dark green I have specified.

Any thoughts?

PatrickCassidy
 
PatrickCassidy replied on at Permalink Reply
PatrickCassidy
Found the problem - human error. the word 'nav' was added to the <a> element div id.