How to hide the category manager?

Prev Next

Plans supporting the use of custom CSS and JS in knowledge base site

Professional
Business
Enterprise






You would want your readers to access only specific articles in some projects. By implementing the below solution, the readers can access the article only when they have the exact URL. The category manager will be hidden.

NOTE

This is a project-specific implementation. All the workspaces will be impacted.

Solution

  1. Navigate to Settings () > Knowledge base site > Customize site > Custom CSS & JavaScript in the Knowledge base portal.

  2. In the CSS tab, paste the below code snippet:

For KB Site 1.0,

.left_sidebar{
  display:none !important;
}
.left-sidebar-toggle{
   display:none !important;
}

For KB Site 2.0,

site-docs-left-panel-container{
  display:none !important;
}
  1. Click Save.


Outcome

Before

The category manager was available to the readers.

After

The category manager is hidden with the help of the above snippet.