Add styling to AI search results page (faceted search widget)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2024 01:43 AM
Hi All,
I am trying to add styling to the AI search page (faceted search widget).
I want to add margin-bottom to the results that get displayed.
What I notice is there is nested shadow root. And I am unable to reach the li class to add styling to it.
Any thoughts on how to reach this class and styling to it ? Has anyone come across this ? Any inputs will be helpful. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2024 05:27 AM
Hi @Tapish Sharma1!
The AI Search widget is an internal ServiceNow directive that doesn’t accept customizations made directly on the page.
If you want to style this page, you can refer to the following documentation with all styling options:
➜ Theming for AI Search in Service Portal
These variables should be applied to the Portal theme.
If my answer helped you in any way, please mark it as Helpful / Accept as Solution 🎯
Regards,
Isaac Vicentini.
MVP 2025 ✨