Most of Sharepoint Page Templates and Masterpages include a left navigation bar. To remove it, we have two options:
- Implement a custom master page, or simplier,
- Create a (layout) page that removes the master’s nav bar by:
- Declaring an empty Content Placeholder for PlaceHolderLeftNavBar
- Modifying the div’s styles
<asp:Content ContentPlaceHolderId="PlaceHolderLeftNavBar" runat="server"/>
<style type="text/css">
body #s4-leftpanel {display:none;}
.s4-ca {margin-left:0px;}
</style>
Taken from the Kraft and Kennedy blog.
No comments:
Post a Comment