How to change the color of the table of contents?
- 29 Sep 2022
- 1 Minuto para leer
-
Colaboradores
-
Impresión
-
OscuroLigero
-
PDF
How to change the color of the table of contents?
- Actualizado en 29 Sep 2022
- 1 Minuto para leer
-
Colaboradores
-
Impresión
-
OscuroLigero
-
PDF
There is no Spanish 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.
¿Te ha sido útil este artículo?