Different Itemcolors in One Menu

More
13 years 1 month ago #1612 by arnaud
hi
where can i put that line in the file maximenuH_CK.php
please

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

More
13 years 1 month ago #1615 by Andy256
Put it after Line 68

This is teh desription for all Menuitmes:
.navigation div#<?php echo $id; ?> ul.maximenuCK > li > a.maximenuCK {
xxxx
xxxx
xxxx
}

And here put in the description of "your item" color
.navigation div#maximenuCK ul.maximenuCK li.item64 > a {
background-color:#009;
}

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

More
13 years 1 month ago #1616 by Andy256
...but another question to CED,
my Menu has a "submenu" and if i click on one of these Submenue points, the color changes back to the same color as te other menue points have ???

Where can i edit ?

Is it maximenueCK2, or maybe the first-child settings ???

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

More
13 years 1 month ago #1617 by ced1870

arnaud wrote: hi
where can i put that line in the file maximenuH_CK.php
please

you must delete the #maximenuCK at the beginning and replace it with the dynamic ID used in the PHP file. You can also try to use the !important property, and finally give me your url

Joomlack Webmaster and Developer

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

More
13 years 1 month ago #1618 by ced1870

Andy256 wrote: ...but another question to CED,
my Menu has a "submenu" and if i click on one of these Submenue points, the color changes back to the same color as te other menue points have ???

Where can i edit ?

Is it maximenueCK2, or maybe the first-child settings ???

because the item becomes active, you must then manage the class '.active' for this item

Joomlack Webmaster and Developer

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

More
13 years 1 month ago #1677 by bizerte77
Hi!

I tried the different solutions but it doesn't work...

My code :
Code:
<li style="z-index : 11996;" class="maximenuCK first item116 level0 "><a title="Billetterie" href="#" class="maximenuCK menu_rouge"><span class="titreCK">J'achète mon billet</span></a> </li>

I add this : menu_rouge directly in my menu (style)

I don't understand why it doesn't work :
Code:
.menu_rouge { background-color:#FFFF00; }

Thank you for your help!

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

Time to create page: 0.240 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 487 guests and 2 members online