Skip to main content
MindTouch Success Center

Collapse TOC on page load

Applies to:
MindTouch (current)
Role required:
Draft Contributor
Change default behavior of TOC staying expanded or collapsed.


When the page loads, automatically collapse Table of Contents (TOC) which can be expanded when clicked


Add the following CSS in a code block to individual pages or to Custom Site CSS to apply to all pages::

.mt-collapsible-section {
     display: none;   


  • Was this article helpful?