Skip to main content

Customize your table of contents (MT4)

This page applies to:MindTouch 4

This article explains how to remove the numbering from the table of contents or hide the table of contents from your site.

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:

display: none !important;

What's Next

Now you have successfully stylized the Table of Contents within MindTouch. For more CSS tutorials, please see the CSS section of our help documentation.

  • Was this article helpful?