The Now Platform® Washington DC release is live. Watch now!

Help
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Service Portal Header Text

Shihab Ahmed
Tera Contributor

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

1 ACCEPTED SOLUTION

Gaurav Bajaj
Kilo Sage

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.


find_real_file.png


2) Clone the header menu widget inside it and then use the cloned one in your main menu.


find_real_file.png






3) in the cloned widget, add below CSS.



.dropdown-menu   > li > a {



color : #00b7f1 !important;


}






find_real_file.png




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.



find_real_file.png



5) You should be able to see the color reflected here.



find_real_file.png




Please mark the response correct/helpful based on the impact.




Thanks


Gaurav


View solution in original post

4 REPLIES 4

Kishor kumar1
Mega Expert

It quite simple,




add css in portal-> theme- >css variable


find_real_file.png



.dropdown-menu{


background:#ffcbcb;


}



But it'll affect all dropdown from header



here the changes


find_real_file.png



find_real_file.png



If you want change the specifically let me know i'll help you



Thanks,


Kishor


Gaurav Bajaj
Kilo Sage

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.


find_real_file.png


2) Clone the header menu widget inside it and then use the cloned one in your main menu.


find_real_file.png






3) in the cloned widget, add below CSS.



.dropdown-menu   > li > a {



color : #00b7f1 !important;


}






find_real_file.png




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.



find_real_file.png



5) You should be able to see the color reflected here.



find_real_file.png




Please mark the response correct/helpful based on the impact.




Thanks


Gaurav


Thanks Gaurav that worked correctly.


Glad it helped:)