Closed (fixed)
Project:
Zen
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Feb 2007 at 22:22 UTC
Updated:
4 Sep 2007 at 20:58 UTC
In icons.css there is code for the menu items, such as:
.block li.leaf, ul.menu li.leaf
.block li.collapsed, ul.menu li.collapsed
.block li.expanded, ul.menu li.expandedIf I want to style the selected menu item differently from the others, say with a darker background or bold font-weight, how would I do so?
Comments
Comment #1
zirafa commentedI think for an active menu item the active class gets applied to the link for that menu item.
for instance:
I've had trouble styling this active menu item in the past though, but not sure why.
Comment #2
figaro commentedThe reason this is difficult is because there is sometimes more than one active link such that more than one item is styled differently leaving the user confused.
Comment #3
figaro commentedThe following thread would solve the problem:
http://drupal.org/node/156174