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
There is no Dutch content available for this article, You are viewing the fallback version (English).
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?