Docs
← Back to site

Sidebar & Topbar Overview

2 min readUpdated October 29, 2026

Every doc page shares the same topbar and sidebar. This doc is a map of what’s in each, and when each piece shows up.

Topbar, left to right#

  • Mobile menu button: opens the mobile drawer. Only visible on smaller screens.
  • Logo / brand: your site logo (or your site’s first initial if no logo is set) plus optional brand text, linking back to the docs homepage.
  • Product switcher: only shown with more than one product and single-product mode off. See The Product Switcher.
A doc page with the topbar, the sidebar on the left and the table of contents on the right.

Topbar, right side#

From left to right, each shown only when relevant:

  • Version switcher: only on a product with at least one version defined, and only when versioning is turned on globally. Not shown on the docs homepage.
  • Dark mode toggle: only when dark mode is enabled in settings.
  • Language switcher: only on WPML/Polylang sites with more than one active language.
  • Ask AI button: only when AI features and the “Ask” feature are both enabled and available.
  • Search: always present, with a keyboard shortcut hint (Ctrl+K or Cmd+K on Mac). On multi-product sites, a scope dropdown next to it lets readers search “This product,” “All products,” or a specific other product.
  • Back to site: a link back to your main site. Defaults to your homepage, or a URL you can set under Settings.

The sidebar lists every category with published docs in the current product, each as a collapsible group. Only the group containing the doc you’re currently reading opens automatically; every other group starts collapsed. Clicking a group’s heading expands or collapses it.

Each doc’s status badge (if set) appears right next to its title in the sidebar. See Status Badges: New, Updated, Beta, Deprecated.

If a product has no published docs yet, the sidebar shows “No docs yet for this product” instead of an empty list.

Mobile drawer#

On smaller screens, the sidebar moves into a slide-out drawer, opened by the mobile menu button in the topbar. It contains the same navigation, plus the product picker if relevant, but overlays the page instead of sitting alongside it.

Keyboard shortcuts#

A few shortcuts work anywhere on a doc page, as long as you’re not currently typing in a field:

KeyAction
Ctrl+K / Cmd+KFocus the search box
?Open a list of all keyboard shortcuts
MOpen the mobile drawer (on smaller screens)
EscClose whichever modal or drawer is open

Was this helpful?

This website uses cookies to enhance your browsing experience and ensure the site functions properly. By continuing to use this site, you acknowledge and accept our use of cookies.

Accept All Accept Required Only