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.

Change the background color of an variable

Bent J_rgensen
Kilo Contributor

Hi,

I would like to change the colors of an entire variable e.g. Multiple Choice, e.g. background color for gray and font color for red.

find_real_file.png

I have been looking at the forum where the posts are primarily about changing the color of the label.

Can you therefor help me, ex. Can you give a hint, link to where I can read on how I do or do you have e.g. example of codes?

Best regards,

Bent

 

1 ACCEPTED SOLUTION

Maik Skoddow
Tera Patron
Tera Patron

Hi,

the basic CSS concept of Service Portals is described here: https://community.servicenow.com/community?id=community_blog&sys_id=48e8a9ec1b050414d01143f6fe4bcb98

And the common approach is as I described in the answer of following similar question: https://community.servicenow.com/community?id=community_question&sys_id=ee8356db1bb0c550cdd555fa234...

The challenge is to find the right CSS selector. You can find it out by using the HTML inspector.

Kind regards
Maik

View solution in original post

3 REPLIES 3

Maik Skoddow
Tera Patron
Tera Patron

Hi,

the basic CSS concept of Service Portals is described here: https://community.servicenow.com/community?id=community_blog&sys_id=48e8a9ec1b050414d01143f6fe4bcb98

And the common approach is as I described in the answer of following similar question: https://community.servicenow.com/community?id=community_question&sys_id=ee8356db1bb0c550cdd555fa234...

The challenge is to find the right CSS selector. You can find it out by using the HTML inspector.

Kind regards
Maik

Hi @Bent Jørgensen 


In case you think I was able to answer your question, I would be happy if you mark the appropriate response as "correct" so that the question will appear as resolved for other users who may have a similar question in the future.

If not, please tell me what you are still missing!

Many thanks & kind regards
Maik

Hi

In case you think I was able to answer your question, I would be happy if you mark the appropriate response as "correct" so that the question will appear as resolved for other users who may have a similar question in the future.

If not, please tell me what you are still missing!

Many thanks & kind regards
Maik