Hide table of contents
- Applies to:
- MindTouch (current)
- Role required:
- Draft Contributor
Use on-page or global CSS to hide the Table of Content on How-To, Reference or Topic pages.
Remove TOC on individual page
- Open the page on which you want to hide the TOC in Edit mode.
- In the editor toolbar, click Styles and select CSS from the drop-down menu.
- 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 tools > Control panel > Custom Site CSS. You can also remove the heading numbering in the TOC or hide certain headings in the TOC.
Only Admins can access the Control panel to make changes to Custom Site CSS.