Applying CSS Style to a Description Field in Employee Center Portal

ammar_k
Tera Expert

Hello,
I have added a description to a topic in the Employee Center portal. Is it possible to apply custom CSS styles to this field?

Thank you!

1 ACCEPTED SOLUTION

Robert H
Mega Sage

Hello @ammar_k ,

 

Each topic has a default template assigned to it by default. But you can create your own template with page specific CSS. I would suggest you start by Cloning the default template (which is basically a regular Service Portal page) and modify it as needed. Then you can assign it to the particular topic that shall have this style.

 

RobertH_0-1743684975014.png

 

Here is some documentation about this.

 

Regards,

Robert

 

View solution in original post

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@ammar_k 

please share some screenshots.

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

Robert H
Mega Sage

Hello @ammar_k ,

 

Each topic has a default template assigned to it by default. But you can create your own template with page specific CSS. I would suggest you start by Cloning the default template (which is basically a regular Service Portal page) and modify it as needed. Then you can assign it to the particular topic that shall have this style.

 

RobertH_0-1743684975014.png

 

Here is some documentation about this.

 

Regards,

Robert

 

Ankur Bawiskar
Tera Patron
Tera Patron

@ammar_k 

check this link

Changing CSS on Employee Center 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

Robert H
Mega Sage

Hello @ammar_k ,

 

I saw your earlier comment about the topic becoming empty, but it seems you have figured out yourself how to fix that (Clone the template, not just copy it via Insert and Stay). I have updated my solution to make this more clear, just FYI.

 

Regards,

Robert