Forum Support

Shape 5
March 28, 2024, 03:01:11 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Highlight active menu item  (Read 665 times)
cspgsl
Jr. Member
**
Offline Offline

Posts: 903



« 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
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 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

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
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.