How to hide the Information button on Catalog Variable while in Portal Environment?

tahnalos
Kilo Sage

I am trying to hide the info button as per the below KB but I am having trouble implementing it.  

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0958089

 

I am trying to hide the info button as identified by the yellow in the below screenshot:

tahnalos_2-1745450493991.png

 

It says to put the code that is in this KB in the CSS field for sc_cat_item but I put it here and it is not working and the info buttons are still visible.  See below:

tahnalos_1-1745450227704.png

Can someone clarify where I am supposed to put this?

 

The only thing I can think of is that the variable in yellow is a reference that is looking at the fields in red, and those values may change.  Could the refreshing of the variable be causing the info button to pop up continuously?

6 REPLIES 6

J Siva
Tera Sage

Hi @tahnalos 

Use the below script. It's working as expected.

.field-has-reference button {
    display: none;
}

 

JSiva_0-1745462871941.png

Output:

JSiva_1-1745462886862.png

Regards,

Siva

Ankur Bawiskar
Tera Patron
Tera Patron

@tahnalos 

if you want to do for all the reference variables then follow the article you shared, small change in that KB, seems the KB is not correct

.field-has-reference button {
    display: none;
}

It worked for other member in recent solution

AnkurBawiskar_0-1745464769634.png

 

if you want it to be removed only for particular variable then follow solution in this link

How can I remove information icon from a reference variable in portal. 

If my response helped please mark it correct and close the thread so that it benefits future readers.

 

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@tahnalos 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

tahnalos
Kilo Sage

Neither of these solutions are working.