Hi,
my CSS is pretty poor to say the least. Could someone please advise me how to make the category name stay black while its active?
http://www.elisabethbell.co.uk
Thanks a lot..
Hi,
my CSS is pretty poor to say the least. Could someone please advise me how to make the category name stay black while its active?
http://www.elisabethbell.co.uk
Thanks a lot..
First — find <body> in header.php and replace with <body <?php body_class(); ?>>
Then you add code like this:
.category-recent-work #one,
.category-paintings #two,
.category-mixed-media #three,
.category-charcoal #four,
.category-about #five{
color:#000;
pointer-events:none; /* disables link, and works only in Webkit and Firefox 3.6 */
}
Or page instead of category (depends what will be in code, press ctrl-u in browser to see).
And I’d advice to rename #one, #two, #three etc to .nav_recent, .nav_paintings, .nav_charcoal…
This topic has been closed to new replies.