Primary navigation

Prev Next

The primary navigation is the top bar of your knowledge base site, positioned next to the logo. It is one of the first things readers see on every page - a well-configured primary navigation helps readers get to the right section quickly without having to search or scroll, and gives your knowledge base a polished, professional feel from the moment someone lands on it..


When to use the primary navigation

  • Surface key destinations - add links to your home page, documentation, or a getting started guide so readers can navigate from any page on your site.
  • Add a call to action - use a styled button to drive readers to a specific action, such as signing up, contacting support, or starting a free trial.
  • Link to your API docs or glossary - if your knowledge base includes API documentation or a glossary, add them to the primary navigation so they're always one click away.
  • Embed a ticket deflector - surface a support form directly from the header so readers can get help without leaving the knowledge base.
NOTE

The header, primary navigation, secondary navigation, and footer displayed on the home page are configured separately under Settings () > Knowledge base site > Customize site > Site header & footer.


Configure the primary navigation

  1. Navigate to Settings () > Knowledge base site in the left navigation bar of the Knowledge base portal.
  2. In the left navigation pane, navigate to Site customization.
  3. Click the Customize site button.
  4. From the left dropdown, select Site header & footer.
  5. Expand the Header option and select Primary navigation.

Animated walkthrough of accessing and configuring the primary navigation in the Customize site builder

  1. Click Add new item to add a navigation menu to the left or right of the site header. The Add new item panel appears.
  2. In the Select type dropdown, choose the type of navigation item to add.

Dropdown showing available navigation types including Home, Documentation, Custom URL, Call to action, and others

The available navigation types are:

Type What it adds
Home A link to your knowledge base home page
Documentation A link to your documentation page
Custom URL A link to any internal or external URL
Call to action A styled button with a custom label, link, and color
RSS feed A link to your knowledge base RSS feed
Ticket deflector An embedded support form
Glossary A link to your knowledge base glossary overview page
API documentation A link to your API documentation workspace
Custom page A link to a custom page you've created
NOTE

You can add up to 6 items to the primary navigation. Once the limit is reached, a warning appears: "You have reached the maximum count of 6. To add a new link, remove one existing link."

  1. Click the default background color to open the color picker and change the navigation bar background color.
  2. Use the Edit (), Delete (), and Reorder () options to manage existing items from the left panel.

Left panel showing edit, delete, and reorder options for primary navigation items

Replace existing navigation items with a custom link

To replace existing navigation items with a custom link — for example, to replace the default tab structure with a single link to an external Swagger reference:

  1. In the primary navigation panel, hover over each item you want to remove and click the Delete () icon.
  2. Click Add new item.
  3. In the Select type dropdown, choose Custom URL.
  4. Enter a Title for the link (for example, API Reference).
  5. Enter the full URL of your Swagger or external reference in the Link field.
  6. Select Open link in new tab if you want the link to open in a new browser tab.
  7. Click Add.
  8. Click Save, then Publish to apply the changes to your Knowledge Base site.
Note

The Custom URL option accepts any internal or external URL. If your Swagger documentation is hosted on a separate domain, use Custom URL rather than the API documentation navigation type, which links only to your Document360 API workspace.

Save and publish

  • Use the Preview toggle on the right to review your changes.
  • Click Save to save your changes.
  • Click Publish to make changes live.

Knowledge base site view

Here is how the primary navigation appears on the knowledge base site.

Knowledge base site showing the primary navigation bar with menu items and a call to action button


Best practices

  • Keep it to 4–5 items - a crowded primary navigation creates visual noise and makes it harder for readers to find what they're looking for. Prioritise the most important destinations.
  • Use Call to action for one key action only - buttons stand out visually. Using more than one CTA button in the header reduces its effectiveness. Choose one primary action.
  • Put the most-used links on the left - readers typically scan left to right, so place Documentation and Home on the left and secondary items like RSS or Glossary further right.
  • Test navigation changes in both light and dark mode - background color choices for the navigation bar may look different across themes.

FAQ

How can I customize the header in Document360?

To customize the header beyond the built-in options, you can add custom JavaScript code in {{variable.Settings}} () > {{variable.Knowledge base site}} > Customize site > Custom CSS & JavaScript. This allows you to modify the header to include additional elements, such as links or icons.

Can I add social media icons to the header?

Yes. You can add social media icons by appending links and icons to the header navigation area using custom JavaScript. For example, you can include icons for LinkedIn, Twitter, Facebook, and Instagram.

How do I add a Call to action button to the header?

Navigate to {{variable.Settings}} () > {{variable.Knowledge base site}} > Customize site and click Customize site. Select Site header & footer, expand Header, and select Primary navigation. Click Add new item, then in the Select type dropdown choose Call to action. Enter a title and link, choose text and background colors, and click Add.

Call to action button configuration panel in the primary navigation settings

How can I dynamically create a feedback link in the header?

You can use JavaScript to create a feedback link dynamically. For example, a mailto link can be appended to the header with the current page title as the email subject, allowing readers to send feedback about a specific page directly.

How do I add a custom link to the primary navigation?

To add a link to any internal or external URL as a navigation item — for example, a Release Notes page or a company website — use the Custom URL type.

  1. Navigate to {{variable.Settings}} > {{variable.Knowledge base site}} > Site customization and click Customize site.
  2. Select Site header & footer from the dropdown, expand Header, and select Primary navigation.
  3. Click Add new item.
  4. In the Select type dropdown, choose Custom URL.
  5. In the Title field, enter the label to display in the navigation bar (for example, Release Notes).
  6. In the Link field, enter the full URL of the destination page.
  7. Select Open link in new tab if you want the page to open in a new browser tab.
  8. Click Add.
  9. Use the Reorder option to position the new item relative to existing navigation items.
  10. Click Save, then Publish to apply the changes.
Note:

You can add up to 6 items to the primary navigation. If you have already reached the limit, remove an existing item before adding a new one