The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Help with CSS Menu States Re: Help with CSS Menu States


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 {

#page-2 .home {

etc…. if you see what I mean.