Plans supporting the use of custom CSS and JS in knowledge base site
Professional | Business | Enterprise |
---|---|---|
You wish to hide the left navigation bar or category manager by default in the Knowledge base site. You can hide this to enhance the readers' experience. However, readers can enable it by clicking the Show category icon adjacent to the article title.
Solution
Navigate to Settings (
) > Knowledge base site > Customize site > Custom CSS & JavaScript in the Knowledge base portal. From the left navigation pane, click on the CSS tab and paste the following CSS snippet:
.left_sidebar {
display : none;
}
site-docs-left-panel-container{
display: none !important;
}
Click Save on the top right.
Outcome
Before
The left navigation bar or category manager is shown by default.
After
The left navigation bar or category manager is hidden by default.