Skip to main content
MindTouch Success Center

Collapse TOC on page load


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?