Skip to main content
MindTouch Success Center

Remove the table of contents

This page applies to:MindTouch (current)

The MindTouch table of contents (TOC) is an automatically generated list of all headings (H1, H2, H3, etc.) on an individual MindTouch page. The TOC allows users to quickly skip down the page to a specific heading. The TOC also highlights the page structure by indenting nested headings (i.e. H2 is indented under an H1). 

Image of an expanded table of contents on a page

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

 

Hide the TOC


  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 {
    display: none !important;
}

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 remove the heading numbering in the TOC.

  • Was this article helpful?