How to hide the Information button on Catalog Variable while in Portal Environment?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2025 04:22 PM
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:
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:
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2025 07:48 PM
Hi @tahnalos
Use the below script. It's working as expected.
.field-has-reference button {
display: none;
}
Output:
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2025 08:19 PM
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
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.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2025 08:18 AM
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.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2025 09:20 AM
Neither of these solutions are working.