Hi All, new to drupal.

I have a very simple menu/navigation structure:

Item 1
Item 2
Sub Item 1
Sub Item 2
Item 3

I'm using the burnt theme (so text menu items are orange).
All i want to do is once a user clicks say Item 3, and node x for Item 3 is loaded (i.e active), that the Item 3 link is a different color (e.g green :-), and even better, Item 3 is no longer a link.

Any suggestions welcomed

_C

Comments

vm’s picture

you do this by adding the necessary css to the style.css file

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

sugarfree’s picture

Have tried many variations in styles.css but alas no dice :-(

What should i add/change to:

#sidebar-left a:link {
color:#00ff00;
text-decoration: none;
}
-Cheers
============
Bit rusty when it comes to css :-)

yurg’s picture

#sidebar-left .active, a.active {
color:yourcolor;
text-decoration: none;
}

bensnyder’s picture

the solution is quite simple

a:link {  // a link in "up" stage
	color: #779D03;
	text-decoration: none;
}
a:visited {  // a link that has been visited
	text-decoration: none;
	color: #779D03;
}
a:hover {  // a link that is being hovered over
	text-decoration: underline;
	color: #779D03;
}
a:active {  // a link when its "linked to" page is currently being viewed   <--- THIS IS THE ONE U WANT
	text-decoration: none;
	color: #779D03;
}
sugarfree’s picture

Cheers to VeryMisunderstood, Yur, pegleglax.
Your comments helped me fix my problem

-Craig

"Sometimes, you can't see the forest for the trees"