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

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; }

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: