The left navigation bar makes the page looks very “SharePoint”. And, some valuable space is wasted under it. If you don’t want to customize the Master page (or want to keep the left nav panel in the rest of the site), you can just hide it on the home page. Insert a Content Editor webpart, and edit the source by clicking the “Source Editor…” button, and enter this:
<style>.ms-navframe{ display:none; }</style>
That’s right, this is just to override the default style for that section.
Since this web part is just added to the home page, it doesn’t hide the left nav penal for other pages.
Of course you don’t want to show this web part, choose the chrome type to be “None” then its title will not show after you publish it.
March 13, 2009 at 7:47 am |
Acutally, I just tried it on a custom page in my collection and it works just fine. Thanks for posting this. I’ve had trouble finding a simple solution until now. You saved me much time.
June 12, 2009 at 6:49 am |
I noticed this only works on pages where I have a data list that has been converted to an XSLT data view. Do you know why this might be?