Removing the Quick Launch Bar in SharePoint 2010′s Master Page
Removing the left navigation bar (the Quick Launch) all together in SharePoint 2010.
In the master page (or even in a web part), add the following to the header (or within the HTML view of the content editor web part)
<style type="text/css">
/* removes the left quick launch */
#s4-leftpanel{
display:none
}
.s4-ca{
margin-left:0px
}
</style>
And villa… You should be all set..
Advertisement
Categories: SharePoint or Custom Development
Would love to see how you are going about customising the look and feel of SP2010..
I must say I’m not having much joy.. I had a great set of master pages that relied on CSS in SP2007 where I could change the header graphic depending on the site you were on.. Also I’m having issues with the Search site, inheriting any sort of style / theme even if I manually set the search site use a particular master page of site theme is doesn’t seem to work.. Have you come across this ??
Great blog by the way.. :)
Very nice and simple trick to eliminate Quick Launch bar. Useful especially in Application Pages.
Is there a way to have the page links but not the titles? ie Lists, discussions
This is about the tenth or so post i’ve found on the subject, but none specifies where the “master file” is; not even a file name! Could you please be more specific?