Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Active Menu Colour

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 08-14-2017, 11:06 PM
 
Aussie Pieter Aussie Pieter is offline
 

Newbie
  
Join Date: Aug 2017
Posts: 8
 

Default Active Menu Colour

Hi All.

Sorry to be a complete newbie but I am working on me menu in x-cart free 5.3.3.2 and have worked out how to change the hover over menu colours by using the below in my custom CSS but what I would like to achive is have the active page/menu highlighted

/* Top Menu Style */
/* Hover Colours */
.navbar-inverse .navbar-nav > li a:hover,
.navbar-inverse .navbar-nav > li a:focus {
color: #ffffff;
background-color: #1074BF;
}

I hope this makes sense?
here is a link to one page so you can see the hover working but would like the active page to be highlighted too

http://cheapmobilecpap.com.au/titration-study/

Regards
Pieter
__________________
X-Cart Free 5.3.3.2
Reply With Quote
  #2  
Old 08-15-2017, 05:38 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Active Menu Colour

I don't think you can do this with css only.
You will have to have custom module to add say "active" css class to the menu item in question and then you can style it as you want.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:01 AM.

   

 
X-Cart forums © 2001-2020