Skip to main content
NICE CXone Expert

We will be updating our infrastructure on Dec 2, 2023. Sites will be down starting at 8pm Pacific time. This may last up to 3 hours.

Expert Success Center

Hide certain headings in the TOC

Yes. You may decide to hide certain heading levels because of the length of the article or because you simply don't want some heading levels included in the TOC. If you want to hide part of your TOC, follow these steps:

  1. Open your page in Edit mode.
  2. In the editor, click Styles and select CSS from the drop-down menu.

Step 2 adds a blue CSS box to the page that is only visible when the page is open in Edit mode.

  1. Paste the following code into the CSS box and change the heading values for the headings you want to hide:
/* HIDE H3, H4 & H5 FROM TOC */
#mt-toc-container li li li {
/* HIDE H4 & H5 FROM TOC */
#mt-toc-container li li li li {
#mt-toc-container li li li li li {

You can apply the above code site-wide or to an individual page. If you want to apply the code site-wide, apply the CSS in Control Panel > Custom Site CSS.


  • Was this article helpful?