Skip to main content


Showing posts from February, 2011

SharePoint 2010: Large Search Box & Scopes

My previous post did not include a style for the search scope drop down. Use the following to CSS to update the search scope from:
Download updated files HEREHow to implement:Upload the custom master page into the master page gallery Navigate to the following location on your server: “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\1033\STYLES” Create a folder called “LGSEARCH” and place the “lgsearch.css” and the two image files into this directory. Apply the “lgsearch.master” to your site.

SharePoint 2010: Navigation Drop Down Styles

If you would like to stylize your navigation drop downs in SharePoint 2010 here are the 4 main key classes to update your CSS. If you are looking for SharePoint 2007 styles see my previous blog post here.The OOTB Navigation Drop Down CSS: “COREV4.CSS”
.s4-tn ul.dynamic{
/* [ReplaceColor(themeColor:"Light2")] */ background-color:white;
/* [ReplaceColor(themeColor:"Dark2-Lighter")] */ border:1px solid #D9D9D9;
.s4-tn li.dynamic > .menu-item{
padding:3px 10px;
/* [ReplaceColor(themeColor:"Hyperlink")] */ color:#0072BC;
.s4-tn li.dynamic > a:hover{
/* [ReplaceColor(themeColor:"Light2-Lighter")] */ background-color:#D9D9D9;
}Example (Not good design, but you get the point)/* Drop Down: Container Style */
.s4-tn ul.dynamic{
border:3px dashed #000;��…

SharePoint 2010: Large Search Box

The OOTB search box in my opinion is hidden and misplaced. In most cases it gets in the way with the top navigation especially when you have a lot of items in it. The solution to this problem is to move the search box up to the left of the social tags and make it bigger with CSS and Images. Here is what the search box will look like: This design consists of two images one for the search box (searchbox.gif) and the other for the button (searchbutton.gif).Moving the Search Control:
In your custom master page simply move the s4-searcharea div up into a new <td></td> before the social tags.The final code should look like this: Notice that I kept the div and the “s4-rp” class. This has the “float:right” attribute for the help icon.Putting it all together:
I have placed all of the support files to create this large search box style into the following .zip file that you can download and apply to your development site.Source Files: Download HEREHow to implement:Upload the …