Need different Icon color for two menu items
4 years 2 months ago #59346
by guitrldy
Need different Icon color for two menu items was created by guitrldy
Hello! I've created two menu items, one for venomous snakes, the other for non-venomous.
I've added icons for these two menu items, but I want one icon to be red (venomous) and the other to be green (non-venomous).
Is there a way to do this?
Thanks!
Lisa W.
I've added icons for these two menu items, but I want one icon to be red (venomous) and the other to be green (non-venomous).
Is there a way to do this?
Thanks!
Lisa W.
Please Log in or Create an account to join the conversation.
4 years 2 months ago #59347
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Need different Icon color for two menu items
Hi
yes you can do that
if you want the whole text + icon you can do that using the Pro version and edition each menu item. You will get the settings to style the menu item separately
else you can style only the icon using CSS and target your item with the custom css class applied to it that you can get with your browser web console
CEd
yes you can do that
if you want the whole text + icon you can do that using the Pro version and edition each menu item. You will get the settings to style the menu item separately
else you can style only the icon using CSS and target your item with the custom css class applied to it that you can get with your browser web console
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
4 years 2 months ago - 4 years 2 months ago #59348
by guitrldy
Replied by guitrldy on topic Need different Icon color for two menu items
I know how to add the icon to a menu item. I need to know that the CSS element is for the icon so I can add color.
I pulled this out using Chrome DevTools:
How would I format this to use it within the single menu item?
Thanks!
Lisa W.
I pulled this out using Chrome DevTools:
Code:
div#willamenu.maximenuckh ul.maximenuck li.level1 li > *:not(div) .maximenuiconck {
float: left;
line-height: 7px;
color: #467341;
}
How would I format this to use it within the single menu item?
Thanks!
Lisa W.
Last edit: 4 years 2 months ago by guitrldy.
Please Log in or Create an account to join the conversation.
4 years 2 months ago #59356
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Need different Icon color for two menu items
you can use the css class ".itemXX" where XX is the ID of the menu item
give me the url of your page so that I can check your menu and give you more details. Tell me which icon you want to style
give me the url of your page so that I can check your menu and give you more details. Tell me which icon you want to style
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
4 years 2 months ago #59408
by guitrldy
Replied by guitrldy on topic Need different Icon color for two menu items
That would be so helpful!!
Pls let me know if you have any questions!
Thanks again!
Lisa W.
This message contains confidential information
Pls let me know if you have any questions!
Thanks again!
Lisa W.
Please Log in or Create an account to join the conversation.
4 years 2 months ago #59414
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Need different Icon color for two menu items
ok, you can add this code

Code:
div#willamenu.maximenuckh ul.maximenuck li.item918 > a .maximenuiconck {
color: red !important;
}
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Time to create page: 0.216 seconds