Sunday, November 10, 2013

Hide search box in home page in SharePoint 2013




In this post we will discuss about how we can hide the search box in SharePoint 2013 in the home page. Also you can check out my previous posts on:

- Advantages of Apps in SharePoint 2013

- Disable mobile page redirection for SharePoint 2013

- Different authentication types supported in SharePoint 2013

We can simply hide the search box from the home page by using  css.

For this edit the page and put a content editor web part. And can write the below css code in the content editor web part html source code.

<style type="text/css">
#titleAreaBox #SearchBox {display: none !important;}
</style>

After this save and publish the page, the search box will become hide.


10 comments:

Anonymous said...

It works! Thanx:)

Bijay Kumar Sahoo said...

Its my pleasure ! Keep visiting the web site.

Anonymous said...

Thanks! Good job

Anonymous said...

Thanks. I put the code inside of a Script Editor and it works well.

sama.gangareddy said...

i tried but not working

sama.gangareddy said...

i have urgent requirement to hide the search box to particular user like contributor please tell me how it is possible to hide the search box to particular user in sharepoint 2013

Anonymous said...

Works beautifully! Any ideas on how to do the same for the search bar that displays in lists?

Anonymous said...

Disregard - found an option on the list webpart menu under "Miscellaneous"

Django said...

Thanx!
Had to remove #titleAreaBox to get it working though...

Anonymous said...

Works well, nice little script.
Regards
John

Post a Comment

Twitter Delicious Facebook Digg Favorites More