Removing search scope dropdown in Sharepoint (MOSS 2007) using CSS

November 3, 2008

Personally, I don’t like the search scope dropdown in sharepoint (moss 2007). Most of the time It doesn’t fit to the looks of my customized sharepoint design. I think it makes my design look a bit ugly. If you have the same problem, here’s the most easiest and quickest way of removing it using css.

Open your core.css file and find this line: “select.ms-sbscopes” . This is the css class which is responsible for the search scope dropdown in MOSS 2007.

Now just add this line within the class..:

display:none;

.. and you are done!

Note: If you don’t want to edit the core.css, you can also add the following line on any css file which will be loaded on the page  (or direct on the masterpage):

select.ms-sbscopes { display:none; }