Project Workspace, band color modification

ramilo
Kilo Contributor

I would like to change the color of the band lets say if status is green, the color would be dark green instead of green or yellow would appear like orange(amber). Can someone please tell me where is the code of this page? Thank you.find_real_file.png

1 ACCEPTED SOLUTION

Harsha Lanka
ServiceNow Employee
ServiceNow Employee

1) Go to "pm_home_cards" UI macro.

2) Add custom styles in <style></style> tags.

Example:

#sn-pm-home .home-cards .card.yellow {

   border-top4px solid <some_hex_code> !important;

}

#sn-pm-home .home-cards .card.green {

   border-top4px solid <some_hex_code> !important;

}

#sn-pm-home .home-cards .card.red {

   border-top4px solid <some_hex_code> !important;

}


View solution in original post

12 REPLIES 12

I have tried that but get the following error 

find_real_file.png

You are using wrong syntax. Please replace the entire style tag with below code.

<style>
.pm-home-page-no-cards span {
font-weight: bold;
font-size: 16px;
padding: 40px;
display: inline-block;
}

#sn-pm-home .home-cards .card.amber {

border-top4px solid #DAA520 !important;

}
</style>

If this works, mark my above answer as helpful if it helped you.

Hi Harsha, 

 

Thank you very much for your help 🙂 That worked!!!

 

Many Thanks

Jiten Parbhoo