Loïc Wolff
Loïc Wolff

Reputation: 3312

Customizing Sharepoint Search Box

I followed some tutorial to change the way Sharepoint Search Box is shown on screen.

My first problem is, after modifying the SearchArea.xml file, is there a way to force the reload? The frequency of reload seems very random.

Bonus question: is it the best way to do it? It's the easiest I've found, but having to change the file on the client's production server when the project is deployed doesn't seems very optimized.

Upvotes: 0

Views: 269

Answers (2)

theITvideos
theITvideos

Reputation: 1502

Its very straight forward. All you have to do is create your custom CSS file and have it override the default styles from the corev15.css file.

The class for the Search inpubt Box is .ms-srch-sb

And you can use your custom styles something like:

.ms-srch-sb>input {
/* your custom css style*/
}

Hope that helps.

Cheers

Upvotes: 0

Francisco Aquino
Francisco Aquino

Reputation: 9117

For the first question, you need to reactivate the feature to have it instally reload, check this link in msdn

The second question, I just answered in another post, check it out

Upvotes: 1

Related Questions