Skip to main content

 

MindTouch Success Center

Can I remove the numbering in the table of contents?

This page applies to:MindTouch (current)

The table of contents (TOC) is automatically generated on a MindTouch page and displays all page headings in a number list format.  This article outlines the steps on how to remove the number formatting from the TOC. 
 

Numbered TOC


The TOC is only displayed on how-to, reference or topic articles.

 

How to remove the numbering


  1. Open the page on which you want to hide the TOC in Edit mode.
  2. In the editor toolbar, click Styles and select CSS from the drop-down menu. 

The blue CSS code block is only visible in Edit mode. 

  1. Add the following code to the CSS box:
#mt-toc-container li:before {
display: none;
}

 

Unnumbered TOC


To apply a style change for your entire site, make CSS changes in Site toolsControl panel > Custom Site CSS.

 

What's next?


Learn how to display only certain headings in the TOC.