Active menu item with different color

More
11 years 7 months ago #13409 by josegrossinho
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.

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

Joomlack Webmaster and Developer

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

More
11 years 7 months ago #13525 by josegrossinho
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.

More
11 years 7 months ago #13526 by josegrossinho
sorry, it's the LEFT menu

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

More
11 years 7 months ago #13529 by ced1870
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

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

More
11 years 6 months ago #13901 by nielsg
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

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

Time to create page: 0.226 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 655 guests and one member online