Thursday, January 31, 2013

How to hide the Left navigation or Quick launch in SharePoint 2010


To hide the left navigation bar or Quick launch , you can follow the below mentioned steps.
Go to à Site Actions à Edit Page à Add a webpart à Add Content Editor Webpart
Modify shared webpartà Edit the Source Code and paste the below code in Source code .


<Style>
body #s4-leftpanel
{
display: none;
}
.s4-ca
{
margin-left: 0px;
}
</style>


Select Ok. Then from the Appearance Section Hide the webpart à Click Apply Ok. à Exit Edit mode.
Hope this helps

No comments:

Popular Posts

Disclaimer

The opinions expressed on this blog are the personal views of Pratik's SharePoint Blog, and do not represent or reflect the viewpoints or policies of any past, present, or future employer, colleague, or customer, or any other entity. The posts on this blog are provided ‘as is’ with no warranties, express or implied, and confer no rights. Use of information contained within this blog, including specific technical steps mentioned herein, is at your own risk. References to specific software products, processes, resources, or companies do not imply any endorsement.