Tuesday 26 July 2016

Hide Search Box in SharePoint Online Quickly (Single Page Only)

Hi Friends,
Just wanted to drop a quick post on hiding the search box in a SharePoint (single SharePoint page only not from the site) in on premise/online site.

Steps:

Edit Page
Go to Insert tab of the ribbon
Click Embed Code
Add following script

<script>
document.getElementById("SearchBox").style.visibility = "hidden";
</script>

and finally don't forget to save.


No comments:

Post a Comment