Active on suubmenu affecting also other men

Active on suubmenu affecting also other men was created by d4rkcloud

Posted 10 years 10 months ago #11442
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.

Replied by ced1870 on topic Active on suubmenu affecting also other men

Posted 10 years 10 months ago #11447
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

by ced1870

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

Replied by d4rkcloud on topic Active on suubmenu affecting also other men

Posted 10 years 10 months ago #11457
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.

Replied by ced1870 on topic Active on suubmenu affecting also other men

Posted 10 years 10 months ago #11458

Hope it is clear...

hummm... no :)

Joomlack Webmaster and Developer

by ced1870

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

Replied by d4rkcloud on topic Active on suubmenu affecting also other men

Posted 10 years 10 months ago #11462
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.

Replied by ced1870 on topic Active on suubmenu affecting also other men

Posted 10 years 10 months ago #11463
please give me your url to check the issue

Joomlack Webmaster and Developer

by ced1870

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

Time to create page: 0.774 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 381 guests and one member online