Skip to main content
MindTouch Success Center

Table of contents (MT4 and TCS)

Applies to:
MindTouch 4 (legacy)
Role required:
Author
Use a dynamic table of contents within MindTouch 4 or TCS (legacy version) pages.

As you create content in MindTouch, you'll start to use headers to separate content within pages. The dynamic table of contents will appear as long as a page contains a single header element:

Each numbered list item in the dynamic table of contents is a hyperlink that to the corresponding page section.

The dynamic table of contents will continue to grow as you add header elements throughout your content. Header 1 elements will be displayed at the first level of the table of contents, and header 2 elements will appear at the second level:

With each additional header section in your page the dynamic table of contents will continue to indent based on the header number.

Remove the list numbers in your table of contents 

Perform the following steps to hide the numbers in a table of contents list: 

  1. Navigate to the Control Panel > Customize > Custom Site CSS
  2. Add the following CSS calls to the All Roles CSS box:
.tocdata li:before {
display: none;
}
  1. Click Save.


Before the CSS calls                                                                   After the CSS calls

TOC -Before.pngTOC_-_After.png

Hide the table of contents

To hide the table of contents, use the following CSS override directly in a page using a CSS style block, or by applying this in the Control Panel's Custom Site CSS section:

#pageToc{
display: none !important;
}
  • Was this article helpful?