I am working on my first site and am modifying the style of my menu. The menu is coming out exactly as I want except the currently selected menu item is formatted completely different from the rest of the menu. I have attached a snapshot of the menu that shows the problem.
I am using the simple_navigation template and just modifying the style sheet. It must be something I have done in my template or style sheet because the problem goes away if I change the page template to one of the defaults (i.e Left simple navigation + 1 column).
This is a snippet from my template where the menu is introduced
Code: Select all
<div id="left_column">
<div id="menu_vert">
{menu template="simple_navigation.tpl" collapse='1'}
</div>
</div>
Code: Select all
/* define layout of menu area (including news section) */
#left_column {
clear: left;
float: left;
width: 200px;
margin: 0 0 10px 0;
padding: 0;
}
/* define styling of the menu */
#menu_vert ul {
list-style: none;
width: 200px;
padding: 0;
font-size: 1.1em;
}
#menu_vert li {
padding-top: 2px;
}
#menu_vert li ul{
font-size:0.9em;
}
#menu_vert li li {
text-indent: 20px;
padding-top: 0px;
}
#menu_vert li a {
font-weight: bold;
height: 20px;
text-decoration: none;
color: #505050;
display: block;
padding: 6px 0 0 10px;
background: #f4f4f4;
border-left: 4px solid #cccccc;
}
#menu_vert li a:hover {
background: #eaeaea;
color: #286ea0;
border-left: 4px solid #286ea0;
}
Gill


