首页 > 代码库 > SharePoint 2013 Top panel ,left panel ,Ribbon 等不必要元素的隐藏

SharePoint 2013 Top panel ,left panel ,Ribbon 等不必要元素的隐藏

Step 1 使用 SharePoint Designer 打开 seattle.master文件  加入如下css代码:

<style>
/*Hide Top Pannel*/
#suiteBar
{
display: none;

}
/*Hide Ribbon*/
#s4-ribbonrow
{
display:none;
}
/*Content Move Up 50px*/
#contentRow
{
margin-top:-50px;
}
/*Hide left Pannel*/
#sideNavBox
{
display: none;
}

</style>

效果如下:

技术分享

 

SharePoint 2013 Top panel ,left panel ,Ribbon 等不必要元素的隐藏