Forum Discussion
Deactivate classic search box?
I have quite an old subsite of a Sharepoint where I can't figure out how to make the classic Sharepoint
Search on the Top Right (next to the Navigation bar) dissapear:
I tried to hide it with the following command but this command only seems to affect the search bar in the top middle section. For other subsites this command worked so i am confused:
Set-PnPSearchSettings -SearchBoxInNavBar Hidden
Any idea what i am missing? I also tried to change a lot of search-settings in the site settings of this subsite but with no luch.
1 Reply
There are several points to consider:
-
This setting only applies to the search box in the suite navigation bar. It doesn't apply to search boxes that are in the page, or to search boxes on classic pages.
Source: Show or hide the SharePoint search box
Also check if it helps: SharePoint Classic pages and Microsoft Search
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
-