Active menu item with different color
- josegrossinho
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
11 years 7 months ago #13409
by josegrossinho
Active menu item with different color was created 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
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.
11 years 7 months ago #13411
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Active menu item with different color
Hi
yes you can use the class "active" on the li element. Use firebug to help you
CEd
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.
- josegrossinho
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
11 years 7 months ago #13525
by josegrossinho
Replied by josegrossinho on topic Active menu item with different color
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
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.
- josegrossinho
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
11 years 7 months ago #13526
by josegrossinho
Replied by josegrossinho on topic Active menu item with different color
sorry, it's the LEFT menu
Please Log in or Create an account to join the conversation.
11 years 7 months ago #13529
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Active menu item with different color
add this into your css
or this
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.
11 years 6 months ago #13901
by nielsg
Replied by nielsg on topic Active menu item with different color
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
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.222 seconds