Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Is it possible to customise the Search box by swapping the controls(Drop down and Search Box) without creating a custom code and by using SharePoint designer. I want to show the search box first and then the drop down selection.

share|improve this question
add comment

2 Answers 2

Since server-side code is not an option, you might want to use CSS added via SharePoint Designer into your masterpage. However, this requires quite some effort to figure out how to shuffle those HTML elements around using CSS like the below example code on the built-in searchbox HTML elements:

<style type="text/css">
#s4-searcharea .s4-search .ms-sbcell
{
  position: relative;
  right: 200px;
}
#s4-searcharea .s4-search .ms-sbscopes
{
  right: -200px;
}
</style>

You might have to experiment a little bit with the pixel adjustment, but it should serve you as a starting point.

Hope that helps.

share|improve this answer
    
Thanks Sig. I'll try this –  Kannan Apr 9 '13 at 5:06
add comment

off course you can. Usually I suggest to deploy a delegate control. You can find more information in this link: http://salvatoredifaziosharepoint.blogspot.co.uk/2012/02/delegate-controls-small-search-input.html

share|improve this answer
    
This requires a custom solution deployment. Is it possible using SharePoint designer. –  Kannan Apr 8 '13 at 12:04
1  
you have to modify the css and the javascript –  Salvatore Di Fazio Apr 8 '13 at 13:16
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.