Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

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

Not applicable

You can try adding !important property of CSS


View solution in original post

4 REPLIES 4

Brad Tilton
ServiceNow Employee

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


Not applicable

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;


}