How do I use SNOW CSS includes to create a consistent style between KBA templates?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2025 08:20 AM
We have templates that you can apply to new Knowledge Base Articles and those are stored as HTML code with various styles. I'm trying to convert the styles to an external stylesheet so we can modify all the templates via the one stylesheet (instead of having to manually edit thousands of articles).
My style sheets is in "sp_css.LIST"
I created an entry in "sp_css_include.LIST" which I assume is necessary for it to be visible to the articles (not sure on this one)?
My template code is as follows:
And the end result is this:
This doesn't work. I also tried /styles/kba-template-styles.css, but it didn't work either. It keeps surrounding it with paragraph tags which I don't think are going to hurt anything, but the bottom line is that it doesn't work. What do I do to include these properly?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2025 10:34 AM
Hi @jeremyduffy ,
Please refer the below community articles:
1. Solved: How to apply CSS to knowledge articles? - ServiceNow Community
2.How to change the CSS for Knowledge Articles - Support and Troubleshooting
If this helps you, mark this as correct and helpful.
Thanks,
Yaswanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2025 11:54 AM
Thank you for the effort, but neither of those address the issue at hand. I'm not trying to update styles for all articles, I'm trying to build templates that people can choose from which fill the field with starter tables in a style that I choose. I can already design the templates with styles, but not if I'm using a sp_css style. I need to use an sp_css style or something similar so that all the articles that use the templates have consistent style (including if we change that style later).