logo

NJP

How apply CSS syle to sys_template for Knowledge article?

New article articles in ServiceNow Community · Feb 16, 2026 · article

Hello @all 

I have created a sys_template and added html with inline css but it didn't worked.When I apply the template and then after some modification saved the form then it removes all css formatting from body.

If anyone has any idea on this please help me!!

aakankshapl_0-1771262002069.png

When I applied the template on article:

aakankshapl_1-1771262087219.png

After saving the article it removed all formatting

aakankshapl_0-1771262422289.png

 

Thak you in advanced

Aakanksha Lavande

View original source

https://www.servicenow.com/community/servicenow-ai-platform-forum/how-apply-css-syle-to-sys-template-for-knowledge-article/m-p/3490301#M206401