How to change the color of the table of contents?
- 29 Sep 2022
- 1 Minuut om te lezen
- Bijdragers
- Afdrukken
- DonkerLicht
- Pdf
How to change the color of the table of contents?
- Bijgewerkt op 29 Sep 2022
- 1 Minuut om te lezen
- Bijdragers
- Afdrukken
- DonkerLicht
- Pdf
The content is currently unavailable in Dutch. You are viewing the default English version.
Article Summary
Share feedback
Thanks for sharing your feedback!
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 dit artikel nuttig?