I want to change the text color of the menu so it's different on alternative pages. I have used the following CSS to change the text color of the menu, hover color and current menu item color. These work on their own but when run on the same CSS script they don't. What is the CSS code to do both of these things without doing one of the other?
//Change the text color of the menu
.page-id-11 .sf-menu > li > a, .page-id-11 .sf-vertical > li > a {
color: grey;
}
//Change the hover color and current menu item color
.page-id-11 .sf-menu > li > a:hover, .page-id-11 .sf-menu > li.current-
menu-item > a, .page-id-11 .sf-menu > li.current-menu-ancestor > a,
.page-id-11 .sf-vertical > li > a:hover, .sf-vertical > li.current-
menu-item > a, .page-id-11 .sf-vertical > li.current-menu-ancestor > a
{
color: red;
}