Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Changing Color of Search Bar

  Asked By: Isabel    Date: Sep 17    Category: Sharepoint    Views: 1822

We are trying to change the color of the search bar that appears at
the top of every page. Does anyone know how to do this? We were able
to change it once when we first started using Sharepoint but can not
figure out how to do it again. Can anyone help?



14 Answers Found

Answer #1    Answered By: Rajul Shah     Answered On: Sep 17

You have to edit the sps.css and ows.css files
under ../60/template/layouts/1033/style look for the stylesheet tags
named .ms-searchbox, .ms-searchform, .ms-searchcorner

All the styles are describet here:

Answer #2    Answered By: Karan Hosagrahara     Answered On: Sep 17

We tried this (we changed every style sheet) and the only thing we
could get to change  was a small section on the left side of the bar
(which is now grey) and we are able to change the images. However
the background color  is still orange. Here is a link to a screen
shot of what we are seeing, any other ideas?


Answer #3    Answered By: Elise Weber     Answered On: Sep 17

Can't you do it in frontpage? Or just switch the theme?

Answer #4    Answered By: Alton Vance     Answered On: Sep 17

We have tried in Front page  and the search  bar is a Web Part that
can not be edited it can only be moved (unless thare is something we
have not tried). We can't change  the color  schemes because the
company that just aquired us has very strict branding guidelines.

Answer #5    Answered By: Sydney Lewis     Answered On: Sep 17
Answer #6    Answered By: Jayme Raymond     Answered On: Sep 17

Did you originally apply a theme when you first started  using sharepoint>?
Is that what it is and now you can't change  it?

Answer #7    Answered By: Devika Bellad     Answered On: Sep 17

We played around with it and made it orange which is the color  we
wanted it to be (the top bar  was a darker orange). We have recently
been aquired by Fair Isaac and now have to rebrand everything with
their colors. We were able to change  the top  bar but not the search
box. We have never used themes in the main portal. We have a few
applied to some of the sites but aren't concerend with the look of

Answer #8    Answered By: Diego Paul     Answered On: Sep 17

I just recreated that little experiment to snap a screenshot of the final
result and it didn't work like it did the first time I did it. I must have
missed a step somewhere..

I'm going look at it some more and get it ironed out. I'm not a big orange
fan myself, but when I deployed sharepoint, I did it for function, I didn't
have style or whatever in mind.

Let me see what can be found out. :-)

Frontpage has always been sort of finicky on some things, especially after a
theme has already been applied once. I can't imagine it is a very difficult
undertaking,. for the most part I had it done.

Let me know if you make any progress or learn anything yourself.

Answer #9    Answered By: Denis Cantrell     Answered On: Sep 17

Thanks so much for your effort...we have been over here pulling our hair
out over something so small so any help  you can provide is greatly

Answer #10    Answered By: Sarita Patel     Answered On: Sep 17

I'm making progress, there's nothing I hate more than something that doesn't
do exactly what I tell it to. ;)

I've presented the question to Cheryl, she will know exactly what to do
about it.

I will be back to you on it soon, now I want to change  that orange color
too. :-)

I just don't get it though, it worked the first time I did it, in the class
selection I must have picked the wrong tag or something.

BTW, did you already apply a theme to sharepoint  once? I was unclear about
that.Even if you "unapply" a theme after you have applied it once, frontpage
and the site itself seem to become a bit like the Borg, they just assimilate

Answer #11    Answered By: Elias Cannon     Answered On: Sep 17

I just checked with the person that originally set up the portal and she
said she has never applied a theme.

Answer #12    Answered By: Kartik Athani     Answered On: Sep 17

Well, it's easy to change  if you want to setup your own theme in the "create
new theme" part of frontpage,. the problem is that you might not want to do
all that. I have tried 3 or 4 different ways to change the color  of that
search bar  but havn't been able to make it stick and I think it is because
the "no theme" is actually a theme all to itself (sort of). The only way I
was finally able to do it was to create a theme and apply it (I didn't save
it that way, I'm scared of themes, they're hard to get rid of).

I havn't heard from Cheryl yet, maybe she's busy or mad at me or something.

The second I do, I'll post again. I'll also spend the rest of the day
looking for another way because now I'm in too deep to quit.

Lemme know if you find a way.. I'll keep going on it.

The man who posted earlier about changing  the styles was close, I tried that
too, but it didn't take. his link was bad too from what I could tell. I
checked my fp book, but they only talked about it from a theme standpoint as

Answer #13    Answered By: Ira Knox     Answered On: Sep 17

You need to change  the style. don't have access right now but look at
ows.css and sps.css. Checkout the three part article

Part three in the series deals directly with style sheets:

Answer #14    Answered By: Divyesh Hurkadli     Answered On: Sep 17

I think .ms-sblbcorner in sps.css contains the properties for the bottom
bit of the image below the magnifying glass in the search  area. An image
may need to be altered since it is listed in the style.

Also in sps.css, .ms-sbtopcorner changes the properties for the top  bit
of the image next to the magnifying glass in the search area. It also
uses an image that may need to be altered.

To be safe, make sure you make backups of both images before modifying

Didn't find what you were looking for? Find more on Changing Color of Search Bar Or get search suggestion and latest updates.