Tuesday, December 28, 2010

Remove Title Header from Webpart

Add this stylesheet elements to the page by using content editor webpart

<style type="text/css">
.ms-viewheadertr {
 DISPLAY: none
}
.ms-vhltr {
 DISPLAY: none
}
</style>

Before:





After:

Friday, December 17, 2010

People Search WebPart Small Font Fix

Here is the CSS to add by throwing the content editor web part or through attaching your own custom style sheet
.s4-search INPUT.ms-sbplain
{
border-bottom: #e3e3e3 1px solid;
border-left: #e3e3e3 1px solid;
padding-bottom: 0px;
padding-left: 3px;
width: 191px !important;
padding-right: 3px;
background: url(/_layouts/images/bgximg.png) #fff repeat-x 0px -511px;
height: 17px;
font-size: 13px;border-top: #e3e3e3 1px solid;
border-right: #e3e3e3 1px solid;
padding-top: 2px;
}
 Before



After







Note: If you just grab and implement font-size, SharePoint always try to over write with default search style sheet