SharePoint 2013 hides the page's ribbon, menu and other non-content elements.
After adding the following styles, there will be a clean page left. You can do content nesting and other operations on this page. Very useful.
Part of the code was written by Hu Xiangwen.
#s4-workspace {
overflow:hidden;
}
#s4-titlerow{
display:none !important;
}
// Hide Ribbon
#s4-ribbonrow{
display:none !important;
}
#suiteBar{
display:none;
}
#sideNavBox{
display:none;
}
#contentBox{
margin:0 ;
}
.welcome-content{
display:none;
}
#contentRow {
padding-top:0px !important;
}
#showContent{
margin: -150px 0px 0px -200px;
}
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn