Active on suubmenu affecting also other men

More
11 years 10 months ago #11442 by d4rkcloud
Hi all,

i've got a little problem with the accordeonCK.
I put
Code:
<?php echo $id; ?> ul li.active > a { color: #ff0000; }
to make the active menu red, but it affects also the menu on other levels.
I want only the last level red
How can i do???

Thanks! :)
Attachments:

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

More
11 years 10 months ago #11447 by ced1870
hi
if the last level is for example the level 3, you can write
Code:
<?php echo $id; ?> ul li.level3.active > a { color: #ff0000; }

Joomlack Webmaster and Developer

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

More
11 years 10 months ago #11457 by d4rkcloud
Thanks for your fast reply, but something still go bad.
If i put the color on third level, i'll get it only on that, but not on the fourth.
And if i put it on fourth level too, when i'm there also the third one changes.
I'd like to hake the third (and the second too) to change when i'm in that page, when i go into a deeper level the upper ones don't change.
Hope it is clear...
Attachments:

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

More
11 years 10 months ago #11458 by ced1870

Hope it is clear...

hummm... no :)

Joomlack Webmaster and Developer

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

More
11 years 10 months ago #11462 by d4rkcloud
Ehm, sorry... ;)
I added
Code:
<?php echo $id; ?> ul li.level4.active > a { color: #ff0000; } <?php echo $id; ?> ul li.level3.active > a { color: #ff0000; }
to mod_accordeonck_css.php.
Now look at the pic in attachment.
The menu "Sistemi di stoccaggio" is red, but i selected the menu "Easy park Boat".
I'd like that only the active voice becomes red.

Is it possible?

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

More
11 years 10 months ago #11463 by ced1870
please give me your url to check the issue

Joomlack Webmaster and Developer

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

Time to create page: 0.617 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 888 guests and no members online