Home » Forum
NoNumber!

Joomla!® Websites & Extensions
development  -  support  -  consultancy

I try to respond within 48 hours (excluding weekends).
If I haven't responded by then, feel free to post a reminder or bug me via email.

My last reply was: 16 Hours, 17 Minutes ago.

Welcome, Guest
Please Login or Register.    Lost Password?

Set Active Main Menu Item
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Set Active Main Menu Item
#530
Set Active Main Menu Item 3 Years, 3 Months ago  
Hi,

I need to make each of my main menu items go from black to white when user is on the page. I've played around and can't get it to work.

I checked out the "Set active menuitem" topic, but it doesn't get me there . . . or I'm just missing something

Thanks in advance for your help.

Cheers,
Raj
rsaklikar
Posts: 2
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#534
Set Active Main Menu Item 3 Years, 3 Months ago  
The active item gets an 'active' class. So you should be able to style the active item like that.
Do you mean you want to make the text color change?
Try this in the style definition for the active item:
color: white !important;

Peter van Westen
Admin
Posts: 9165
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
Go to topPage: 1
Moderators: Peter van Westen
Open Source Training | Online Joomla! Training and Support
MaxCDN | Content Delivery Network | Accelerate your site to the max
hosting joomla