Wednesday, November 7, 2012

Hide Left Navigation and ribbon controls of SharePoint 2010


Add a Content Editor webpart on the page and use the below code in a the webpart, to hide the ribbon controls and the left nav bar.


<style>
#s4-leftpanel {
DISPLAY: none
}
.s4-ca {
MARGIN-LEFT: 0px
}</style>

No comments:

Post a Comment