-
Print
-
DarkLight
-
PDF
How to change the color of the table of contents?
You would want to change the color of the table of contents to showcase it better. Follow the below steps to change the color of the table of contents.
Solution
- Go to Settings → Knowledge base site → Custom CSS & JavaScript → Custom CSS
- Paste the below code snippet:
.content_block .content_container .page-action .article_action_links ul li a
{
color: red;
}
- In the above snippet, replace red with your desired color
- Click Save
Outcome
Before
The default color of the table of contents is grey.
After
The color of the table of contents is changed to red.
Was this article helpful?