Home › Forums › CSS › Help with CSS Menu States › Re: Help with CSS Menu States
March 29, 2013 at 12:51 pm
#130135
Paulie_D
Member
There are a couple of ways to do it.
The easiest way is to give each page an ID (or class)
Thus, if you have a menu with 3 items you give each of those list items a class of its own.
So you could have a `.home`, `.contact`, `.clients` etc on your list items.
The you can target the page and list items with
#page-1 .home {
background:xxxxxx;
}
#page-2 .home {
background:xxxxxx;
}
etc…. if you see what I mean.