If CSS on your website works in a way where when hovering over any of the subitems, the main item loses the highlight (hover state), you could try using the following CSS:
1 2 3 4 |
#nav ul li:hover > a { background-color: #000; color: #FFF; } |
Needless to say, it is up to you which styles to choose, but make sure that the ID (or class) matches the code on your website.