How to Hide Documentation Space Search Field

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Scenario

Customers might see the search field on the left side navigation of documentation theme as a redundant feature as Confluence provide the global search on the top right.

Workaround

Please follow the following steps to hide the left side navigation space search field.

  1. Access the respected space

  2. Access the "Space Admin" from "Browse" drop down list

  3. Access the "Space Admin" tab

  4. Click the "Stylesheet" button under the "Look & Feel" section

  5. Input the following:

    1 2 3 4 #pagetreesearch { display:none; }
  6. Saved

Resolution

There is an open feature request for this function that can be tracked here:

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.