How to change the color of the table of contents?
  • 29 Sep 2022
  • 1 Minuut om te lezen
  • Bijdragers
  • Donker
    Licht
  • Pdf

How to change the color of the table of contents?

  • Donker
    Licht
  • Pdf

The content is currently unavailable in Dutch. You are viewing the default English version.
Article Summary

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

  1. Go to SettingsKnowledge base siteCustom CSS & JavaScriptCustom CSS
  2. Paste the below code snippet:
.content_block .content_container .page-action .article_action_links ul li a
{
color: red;
}
  1. In the above snippet, replace red with your desired color
  2. Click Save

Outcome

Before

The default color of the table of contents is grey.
15_Screenshot-Before_toc_color

After

The color of the table of contents is changed to red.
14_Screenshot-After_toc_color


Was dit artikel nuttig?