Different Itemcolors in One Menu
13 years 1 month ago #1612
by arnaud
Replied by arnaud on topic Re: Different Itemcolors in One Menu
hi
where can i put that line in the file maximenuH_CK.php
please
where can i put that line in the file maximenuH_CK.php
please
Please Log in or Create an account to join the conversation.
13 years 1 month ago #1615
by Andy256
Replied by Andy256 on topic Re: Different Itemcolors in One Menu
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;
}
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.
13 years 1 month ago #1616
by Andy256
Replied by Andy256 on topic Re: Different Itemcolors in One Menu
...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 ???
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.
13 years 1 month ago #1617
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Re: Different Itemcolors in One Menu
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 urlarnaud wrote: hi
where can i put that line in the file maximenuH_CK.php
please
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
13 years 1 month ago #1618
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Re: Different Itemcolors in One Menu
because the item becomes active, you must then manage the class '.active' for this itemAndy256 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 ???
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
13 years 1 month ago #1677
by bizerte77
Replied by bizerte77 on topic Re: Different Itemcolors in One Menu
Hi!
I tried the different solutions but it doesn't work...
My code :
I add this : menu_rouge directly in my menu (style)
I don't understand why it doesn't work :
Thank you for your help!
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