While working on SharePoint 2013 and Office 365 sites, most of our clients request their homepage without having a search box option..
In those cases, you can avoid taking a lot of time in writing code to hide those files. Just follow the following steps.
- Edit the page on which you want to remove the Search Box.
- Add a Script Editor web part.
- Paste the following code.
Code- <style type="text/css">
- #DeltaPlaceHolderSearchArea {
- display: none;
- }
- </style>
- Your search box will be gone.
That's it.
Keep reading & keep learning!

Priti KumariPosted Nov 5, 2018, 1:26 AM
Above code doesn't hide the search box when i used this in one of my sharepoint online site.
Priti KumariPosted Nov 5, 2018, 1:25 AM
Hi Manpreet,