Forum Support

Shape 5
January 23, 2022, 10:00:59 AM *
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: Change color of active menu link  (Read 316 times)
tkdtimi
Jr. Member
**
Offline Offline

Posts: 6



« on: June 21, 2015, 07:50:26 AM »

Hi guys,

where can I change the color of the active menu link in the top menu? I really only want to change the color of the active menu link, so changing the template parameters wouldn't work for me, as it would change the color of more things than just this active menu link.

Best regards
Tim
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #1 on: June 22, 2015, 11:37:37 PM »

Hello,

If you add this to the custom.css file with a !important call you can override the index.php highlight.

Code:
#s5_nav li.active span, #s5_nav li.active a, .S5_submenu_item:hover span, .S5_grouped_child_item .S5_submenu_item:hover span, .S5_submenu_item:hover a, .S5_grouped_child_item .S5_submenu_item:hover a, #s5_nav li a:hover, #s5_nav li span:hover, #s5_nav li.mainMenuParentBtnFocused a, #s5_nav li.mainMenuParentBtnFocused span {
  color: #ff0000 !important;}
Logged

Mike Nicoll
------------
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
tkdtimi
Jr. Member
**
Offline Offline

Posts: 6



« Reply #2 on: June 25, 2015, 09:55:12 AM »

Thanks! As allways Smiley
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #3 on: June 26, 2015, 07:36:56 PM »

NP Smiley
Logged

Mike Nicoll
------------
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.