nop
MemberForum Replies Created
-
In reply to: Change hover in navigation bar and rename home page
December 17, 2011 at 4:19 pm #21031thank you !
Thanks to you I alsmot managed to do what I wanted.
here is it, if it can help others :
/* Top level header menu, default state */
#header-menu > li {
font: normal 12px helvetica;
color: #aaa;
margin: 0 2px;
}
#header-menu > li > a {
background : #000;
color: #aaa;
line-height: 16px;
padding: 9px 10px 10px;
}
/* Top level header menu, hover and current state */
#header-menu > li:hover > a,
#header-menu > li.current-menu-item,
#header-menu > li.current-menu-ancestor {
color: #fff;
background: #333;
line-height: 12px;
}
#header-menu > li.current-menu-item > a,
#header-menu > li.current-menu-ancestor > a {
color: #fff;
background: #333;
}Now I just need to figure out how to change the style of the current menu item when I put the mouse on another menu item (hover) : then in that case the current menu item style should be the defaut style. Do you know how I should adapt the code to get this behavior?
thank you !
ok thank you Syarhir. I may be your guy for the french translation..I’ll look at it deeper later.
that’s perfect thank you very much for your help
Arnaud
Viewing 3 posts - 1 through 3 (of 3 total)
