Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

want to change the background color of widgets in service portal

chinna
Mega Guru

Hi Team,

actually my requirement is i want to change the background of widget .

i tried with the following script in CSS 

.panel-heading {
color: #fff;
background-color: #0060FF;
border-color: #0060FF;
}

but the issue it only changing the heading part , i want to change the full background.

find_real_file.png

In the above screenshot i want to change the approve button background color also , can anyone help on this.

 

Regards,

Chinna

1 ACCEPTED SOLUTION

Harsh Vardhan
Giga Patron

CTRL + Right Click >> "Instance In Page Editor" >> use below css in css field to change the background color. 

 

.padder-b-none {
color: #fff;
background-color: #0060FF;
border-color: #0060FF;
}

.btn-block {
background-color: bisque;
}

.btn[name="approve"] {
background-color: red;
}

 

 

find_real_file.png

 

 

 

result:

 

find_real_file.png

 

 

If my answer helped you, kindly mark it as correct and helpful.

 

 

 

 

View solution in original post

5 REPLIES 5

Ct111
Tera Sage

This solution doesnt work on employee center portal. Any idea how to fix it?