Showing which Menu item you're on

Last modified: August 26, 2009 - 18:33

This tips allows you to highlight, or show the focus on, the menu item your user is currently on. By default, Drupal just turns the item black. This tip places a box around the item. One nice "extra" to it, is that it also works on the book navigation block as well.

.menu .leaf .active {border:1px solid #D2691E;}

I know this tip works in Bluemarine and Pushbutton, but should work in all themes.

Use a color that contrasts with, but compliments your menu color scheme.

 
 

Drupal is a registered trademark of Dries Buytaert.