First Happy new Year everybody!
I would like to customize my menu e.g. change the police color for every “sub-main” menu
Many thanks
Hey jbc1407!
What do you mean by “sub-main” menu? You can change the main menu color using this on Quick CSS:
.header_color .main_menu ul:first-child > li > a {
color: red;
}
Change the sub menu using this:
.header_color .sub_menu>ul>li>a {
color: blue;
}
Regards,
Ismael
Thanks,
1 / But in which part of the editor have I to write this CSS ?
2 / And my question was (excuse my bad english!) : how change the color font of the text in the menus ? e.g. : main menu red, sub-menu 1 : blue, sub-sub menu 2 : green…
Hey!
1) You can add custom CSS codes Quick CSS section that is in Enfold theme options under Styling tab or custom.css file inside Enfold/css folder
2) You are going to need to use developer tools on Chrome or on Firefox to find menu item ID’s and change colors as following
#menu-item-2279 a { color: red; }
You can right click on menu item and click “inspect elements” to find menu item ID’s ( 2279 in my case )
Best regards,
Yigit