The Now Platform® Washington DC release is live. Watch now!
‎11-14-2017 08:45 PM
Hi Developers,
I am finding it difficult to change text color of Header Menu Dropdown in Service Portal (please see attachment).
I could change the background but text color is not changing.
Though I can easily change the Parent Menu text color but I want to change color of the drop down menu too.
Any idea how to do it?
Thanks
Shihab
Solved! Go to Solution.
‎11-14-2017 11:10 PM
HI SHihab,
I was able to change the font color for the custom menu items.
Please follow steps.
2) Go inside the Main menu in the portal.
2) Clone the header menu widget inside it and then use the cloned one in your main menu.
3) in the cloned widget, add below CSS.
.dropdown-menu > li > a {
color : #00b7f1 !important;
}
4) Please don't forget to update the angular templates for clone widget. These are tagged with Header Widget OOB.
You need to replace the Header widget with custom header widget in each of them.
5) You should be able to see the color reflected here.
Please mark the response correct/helpful based on the impact.
Thanks
Gaurav
‎11-14-2017 11:00 PM
‎11-14-2017 11:10 PM
HI SHihab,
I was able to change the font color for the custom menu items.
Please follow steps.
2) Go inside the Main menu in the portal.
2) Clone the header menu widget inside it and then use the cloned one in your main menu.
3) in the cloned widget, add below CSS.
.dropdown-menu > li > a {
color : #00b7f1 !important;
}
4) Please don't forget to update the angular templates for clone widget. These are tagged with Header Widget OOB.
You need to replace the Header widget with custom header widget in each of them.
5) You should be able to see the color reflected here.
Please mark the response correct/helpful based on the impact.
Thanks
Gaurav
‎11-15-2017 02:38 PM
Thanks Gaurav that worked correctly.
‎11-16-2017 07:00 AM
Glad it helped:)