Posts

Showing posts with the label Hide Web Part Headers

Hide Web Part Headers with SharePoint 2010

Hide a web part header in SharePoint 2010. 1.  Add a content editor web part to your page. 2. Edit the Web Part 3. Click in the content area of the web part, click HTML and select ā€œEdit HTML Sourceā€ 4. Put the following code in the web part:    <style>       TR.ms-viewheadertr > TH.ms-vh2 {       DISPLAY: none       }    </style> 5. Click ā€œOKā€ 6. Expand ā€œAppearanceā€ (on the right side of the page) 7. Set the chrome type to ā€œNoneā€ 8. Click ā€œOKā€ and then save and check in your page. The headers of your web part should now be hidden.  This can be extremely helpful when your page contains a web part using ā€œboxedā€ for your style when creating a list view.  The only downside to this approach is if you have multiple web parts on a single page, it will hide the headers for all the web parts on your site.