Different Itemcolors in One Menu

Replied by arnaud on topic Re: Different Itemcolors in One Menu

Posted 12 years 2 months ago #1612
hi
where can i put that line in the file maximenuH_CK.php
please
by arnaud

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

Replied by Andy256 on topic Re: Different Itemcolors in One Menu

Posted 12 years 2 months ago #1615
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;
}
by Andy256

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

Replied by Andy256 on topic Re: Different Itemcolors in One Menu

Posted 12 years 2 months ago #1616
...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 ???
by Andy256

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

Replied by ced1870 on topic Re: Different Itemcolors in One Menu

Posted 12 years 2 months ago #1617

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

by ced1870

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

Replied by ced1870 on topic Re: Different Itemcolors in One Menu

Posted 12 years 2 months ago #1618

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

by ced1870

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

Replied by bizerte77 on topic Re: Different Itemcolors in One Menu

Posted 12 years 2 months ago #1677
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.643 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1601 guests and no members online