Styling background image in ServicePortal - CSS

david_myers
Tera Contributor

I am trying to style the background image position in a container but it's not working.   I added a parent class to the container and added some page specific CSS.   What the heck am I doing wrong?

find_real_file.png

find_real_file.png

find_real_file.png

1 ACCEPTED SOLUTION

Zeeshan Khan1
Kilo Guru

You can try adding !important property of CSS


View solution in original post

4 REPLIES 4

Brad Tilton
ServiceNow Employee
ServiceNow Employee

It looks like the element itself has its own styling inline.


Zeeshan Khan1
Kilo Guru

You can try adding !important property of CSS


Thanks to you both for providing this response.   This is working as I intended now.    


ashishgupta
Tera Expert

.back


{


background-position: 25% 75% !important;


}