il template è il simple_navigation.tpl, il problema è un lieve spostamento della grafica quando si clicca su una delle voci principali del menù. La voce attiva è più alta delle altre.
Grazie.
Il foglio stile è il seguente:
/********************
MENU
*********************/
#menu_vert {
padding-left: 0;
margin-left: 0.3em;
}
/* third level has some padding to have it stand out */
div#menu_vert ul ul ul {
padding-bottom: 0.5em;
}
/* menu li block */
#menu_vert li {
list-style: none;
margin: 0;
border-bottom: 1px solid #c0c0c0;
display: block;
}
#menu_vert ul ul li {
border: none;
}
/** fix stupid ie bug with display:block; **/
* html #menu_vert li a { height: 1%; }
* html #menu_vert li hr { height: 1%; }
/** end fix **/
/* first level links */
div#menu_vert a {
font-size: 95%;
text-decoration:none; /* no underline for links */
display: block; /* IE has problems with this, fixed above */
padding: 0.5em 0.5em 0.5em 1.7em; /* some air for it */
color: #555; /* this will be link color for all levels */
background: url(images/cms/arrow-right.gif) no-repeat 0.5em center;
}
/* next level links, more padding and smaller font */
div#menu_vert ul ul a {
font-size: 80%;
padding: 0.5em 0.5em 0.5em 2.8em;
background: url(images/cms/dash.gif) no-repeat 1.5em center;
display: block;
}
/* third level links, more padding */
div#menu_vert ul ul ul a {
padding: 0.5em 0.5em 0.5em 4.3em;
background: url(images/cms/dash.gif) no-repeat 2.8em center;
}
/* hover state for all links */
div#menu_vert a:hover {
color: #d60026;
}
div#menu_vert a.activeparent:hover {
color: #d60026;
}
/*
active parent, that is the first-level parent
of a child page that is the current page
*/
div#menu_vert li a.activeparent {
background: url(images/cms/arrow-right.gif) no-repeat 0.5em center;
background-color: #fff;
color: #d60026;
}
div#menu_vert ul ul li a.activeparent {
background-position: 1.5em center;
background-color: transparent;
color: #555;
}
/*
current pages in the default Menu Manager
template are unclickable. This is for current page on first level
*/
div#menu_vert ul h3 {
background: url(images/cms/arrow-right.gif) no-repeat 0.5em center;
background-color: #fff;
display: block;
padding: 0.5em 0.5em 0.5em 1.7em; /* some air for it */
color: #d60026; /* this will be link color for all levels */
font-size: 95%;
font-weight: normal; /* instead of the normal font size for */
margin: 0; /* as normally has some margin by default */
}
/*
next level current pages, more padding,
smaller font and no background color or bottom border
*/
div#menu_vert ul ul h3 {
font-size: 80%;
display: block;
padding: 0.5em 0.5em 0.5em 2.8em;
background-position: 1.5em center;
background-color: transparent;
/* border-bottom: none; */
color: #000;
}
/* current page on third level, more padding */
div#menu_vert ul ul ul h3 {
padding: 0.5em 0.5em 0.5em 4.3em;
background: url(images/cms/arrow-right-active.gif) no-repeat 2.7em center;
}
/* section header */
div#menu_vert li.sectionheader {
border-right: none;
font-size: 130%;
font-weight: bold;
padding: 1.5em 0 0.8em 0;
background-color: #fff;
line-height: 1em;
margin: 0;
text-align:center;
}
/* separator */
div#menu_vert li.separator {
height: 1px !important;
margin-top: -1px;
margin-bottom: 0;
padding:2px 0 2px 0;
background-color: #000;
overflow:hidden !important;
line-height:1px !important;
font-size:1px; /* for ie */
}
div#menu_vert li.separator hr {
display: none; /* this is for accessibility */
}