- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2020 01:52 AM
Hi ServiceNow Community!
I have two questions.
Q1: How do I change the background colour of the below icon link beyond the options available in Bootstrap colors?
I have read on another post that you insert the following CSS into the your widget instance but when I do this the colour does not change. Maybe I am doing something wrong when insert the code?
a.top_icon{
background-color: red;
}
Q2: How do I change the text font and text colour of the text in the icon link beyond the bootstrap colours?
Attached is a sample icon link. I would like to change the background colour to yellow and the text font to orange.
Thanks in advance!
James
Solved! Go to Solution.
- Labels:
-
Service Portal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2020 02:28 AM
Hi James,
Open icon link widget, go to CSS
Add the below marked yellow
color: orange;
background-color: red;
Harish

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2020 02:28 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2020 02:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2020 02:56 AM
Thanks Harish!