Sunday, September 21, 2014

Hide left side navigation in SharePoint

Here are steps to hide left side navigation from SitePages...

1- Edit Page in SharePoint Designer
2- Goto Insert > Click WebPart > Media and Content > Content Editor Webpart in Page
3- Add below script in your page

<style type="text/css">

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


4- Save and see the changes




No comments:

Post a Comment

SharePoint Deployment Error : The specified path, file name, or both are too long.

Hi, Sometimes we get surprised with below error while deploying wsp file... Solution : To overcome with this issue, we just ne...