Home > Web Front-end > HTML Tutorial > SharePoint 2013 hides the page's ribbon, menus and other non-content elements. _html/css_WEB-ITnose

SharePoint 2013 hides the page's ribbon, menus and other non-content elements. _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:45:17
Original
1134 people have browsed it

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;
}
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template