If you're using a theme from 2023 or newer, you have the option to control the Table of contents behavior as to whether it's always open, closed until open, or closed on the homepage but open everywhere else.
To view or change your table of contents behavior:
- Go to Customize > Style (HTML & CSS).
- In the lefthand menu, expand the Table of contents section. Use the controls here to adjust the table of contents open/closed behavior. Choose from one of three options:
- Always open: The table of contents is open on all pages and the reader cannot close it. On smaller screens, the table of contents will be closed until the reader opens it using the hamburger menu.
- Closed on the homepage, open everywhere else: The table of contents is closed on the homepage until a reader selects the hamburger menu to open it. On all other pages, it's open with no way of closing it. On smaller screens, the table of contents will be closed on all pages until the reader opens it using the hamburger menu.
- Closed until opened: The table of contents is closed on all pages until the reader opens it using the hamburger menu.
- Once you've made your selection, be sure to Save your changes.
Limitations
This option is only available for knowledge bases that do not have theme/layout selection options (these knowledge bases are hard-coded to Minimalist theme with Left two columns layout).
If you're using Minimalist theme with Left two columns layout and you'd like to use the Table of contents control, please contact us to enable the option! This will disable the theme and layout options.