Forum Discussion
fishscience
Jun 10, 2021Copper Contributor
How show the search control on all pages in a site
On Site Content page: .../_layouts/15/viewlsts.aspx?view=14, we can see a search control on the top center of the page: How can I show the search control highlighted in red above on all pages ...
- Jul 02, 2021Please mark the reply as accepted, as it would help others as well. Thanks!
KrunalRohit
Jun 10, 2021Brass Contributor
As long as you're creating Site Page (modern page), you will have the Search Bar.
If it is a Wiki Page or Web Part page (which are classic pages), you won't be getting the Search Bar.
Thanks.
If it is a Wiki Page or Web Part page (which are classic pages), you won't be getting the Search Bar.
Thanks.
- fishscienceJun 10, 2021Copper Contributor
KrunalRohit yes. usually the search bar only appear for site page. However I see a site. Whatever wiki page, web part page , or site page, it has the search bar all along. Do you know how can I do it also?
- KrunalRohitJun 10, 2021Brass Contributor
fishscience It is by design only. However, you can customize it by using SharePoint PnP PowerShell extensions.
Please refer this for more info - https://docs.microsoft.com/en-us/microsoftsearch/manage-spo-search-box- fishscienceJun 16, 2021Copper Contributor
KrunalRohit Thank you! It is very helpful.