Skip to main content
MindTouch Success Center

Hide table of contents

Use on-page or global CSS to hide the Table of Content on How-To, Reference or Topic pages.

Remove TOC on individual page

  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.
  3. Add the following code to the CSS field:
    #mt-toc-container {
        display: none !important;
    }
    

Remove TOC with global CSS

To apply a style change for your entire site, make CSS changes in Site toolsControl panel > Custom Site CSS. You can also remove the heading numbering in the TOC or hide certain headings in the TOC

  • Was this article helpful?