[英]Sharepoint Top and left side bar hide
I Dont no how to hide or remove top bar and left side bar in sharepoint.我不知道如何隐藏或删除 sharepoint 中的顶部栏和左侧栏。
I am using Sharepoint designer and infopath.我正在使用 Sharepoint 设计器和 infopath。
Can you please help me你能帮我么
To hide the top bar use this CSS (in your master page or in your specific page) :要隐藏顶部栏,请使用此 CSS(在您的母版页或特定页面中):
#suiteBar {
display: none !important;
height: 30px;
}
If you want to hide 'ribbon' also then use following CSS:如果您还想隐藏“功能区”,请使用以下 CSS:
#s4-ribbonrow {
display: none !important;
position: relative;
}
To hide side bar (left navigation):隐藏侧边栏(左侧导航):
#sideNavBox {
display: none !important;
float: left;
margin-left: 20px;
margin-right: 20px;
width: 180px;
}
#contentBox {
margin-left: 20px !important; /*moved content to left*/
margin-right: 20px;
min-width: 703px;
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.