Active menu item with different color

Active menu item with different color was created by josegrossinho

Posted 10 years 7 months ago #13409
Hello

Is there a way to attribute a different color to the active item of the menu?
I wanted to remove the articles title and like this the user would know where he is through the menu.

Thanks in advance

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Active menu item with different color

Posted 10 years 7 months ago #13411
Hi
yes you can use the class "active" on the li element. Use firebug to help you
CEd

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by josegrossinho on topic Active menu item with different color

Posted 10 years 7 months ago #13525
Thanks

However i couldn't find the way to do it. I tried several ways but couldn't do it.
The only thing i got was all the menu items changing when one was active.

What i need is that the active color is the same as the hover color on the right menu

josegrossinho.com/mmp_teste/index.php/en...il/paisagens-sonoras

Thanks

Please Log in or Create an account to join the conversation.

Replied by josegrossinho on topic Active menu item with different color

Posted 10 years 7 months ago #13526
sorry, it's the LEFT menu

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Active menu item with different color

Posted 10 years 7 months ago #13529
add this into your css
Code:
#accordeonck90 li.level2 > a:hover, #accordeonck90 li.current > a { color: #9A0604; }

or this
Code:
#accordeonck90 li.level2 > a:hover, #accordeonck90 li.active> a { color: #9A0604; }

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by nielsg on topic Active menu item with different color

Posted 10 years 7 months ago #13901
Hi there,

I don't seem to find an active (CSS) statement in the Accordeon CK for the 2nd level that slides out.

this is what i see..
li.current.active.parent.level1 ul li a

I would like to do something like
li.current.active.parent.level1 ul li.active a

any ideas? Or did i overlook something?
thanks!!

niels
by nielsg

Please Log in or Create an account to join the conversation.

Time to create page: 0.706 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 851 guests and no members online