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.

Remove the reference (i) icon from reference variable in ESC portal

jency83
Tera Guru

I was struggling to remove the (i) icon recently on catalog item form on ESC portal. I found some older articles but this was not working as expected so I dived into CSS and found a solution. Some of you might find it helpful so I post it here as answer as I cannot create an article

 

OOB state:

oob_state.png

Desired state:desired_state.png

 

1 ACCEPTED SOLUTION

jency83
Tera Guru

To remove the (i) icon from all reference fields follow these steps:

1. Switch to Employee Center Core application

2. You shift-rightlick on anywhere in the widget and select "Instance in Page Editor"

3. It should open the inscance of HRM Catalog Item

jency83_0-1736345713754.png

4. Scroll down and add the following CSS

.field-has-reference button {
    display: none;
}
div.select2-container .select2-choice {
    padding-left: 1.2rem;
}

the first bit makes sure the (i) icon disappears, the second one shifts the reference label a bit to the right so it is not so far left:

 

jency83_1-1736345844565.png

 

View solution in original post

1 REPLY 1

jency83
Tera Guru

To remove the (i) icon from all reference fields follow these steps:

1. Switch to Employee Center Core application

2. You shift-rightlick on anywhere in the widget and select "Instance in Page Editor"

3. It should open the inscance of HRM Catalog Item

jency83_0-1736345713754.png

4. Scroll down and add the following CSS

.field-has-reference button {
    display: none;
}
div.select2-container .select2-choice {
    padding-left: 1.2rem;
}

the first bit makes sure the (i) icon disappears, the second one shifts the reference label a bit to the right so it is not so far left:

 

jency83_1-1736345844565.png