Forum Support

 
Advanced Search


[1]

Offline cspgsl
Free Member
Posts: 903
Posted on: December 15, 2016, 05:56:47 AM

At http://businesssitedesign.com/services I am trying to add a hover effect and an outline and or background for the active menu item so the user can quickly tell where they are in the menu list.

For example, as they mouse over a menu item (as is the case with the top level menu item) a background would appear and when they are on the - Restaurant & Cafes > Development > Starting a New Restaurant page the Starting a New Restaurant menu item would be outlined.

Any help appreciated, thanks
« Last Edit: December 15, 2016, 06:02:50 AM by cspgsl »
Logged

Offline jonahh
Free Member
Posts: 23789 WWW
Posted on: December 15, 2016, 01:02:06 PM

Hello,

Sure, here is the code to style the active menu item. I just put an underline on it but you can add whatever styling you like to it:

Code:
#s5_accordion_menu li.active {
text-decoration:underline;
}
Logged
[1]

Jump to:  


Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Page created in 0.015 seconds with 20 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.