HIde left navigation and top riboon by using CSS Code for sharepoint 2010
Hi Friends,
As many time i face the issues that need to hide the top pannel in sharepoint page.
Finally after some googleing and my css terms i got these functionality .
please follow the below steps to add the code
<style type="text/css">
#s4-ribbonrow, .ms-cui-topBar2, .s4-notdlg, .s4-pr s4-ribbonrowhidetitle, .s4-notdlg noindex, #ms-cui-ribbonTopBars, #s4-titlerow, #s4-pr s4-notdlg s4-titlerowhidetitle, #s4-leftpanel-content {display:none !important;}
.s4-ca{margin-left:0px !important; margin-right:0px !important;
</style>
Thanks and Regards
Amit
As many time i face the issues that need to hide the top pannel in sharepoint page.
Finally after some googleing and my css terms i got these functionality .
please follow the below steps to add the code
- add content editor page in the page
- Add the below code in editor and make the layout hidden . it will hide the top bar.
<style type="text/css">
#s4-ribbonrow, .ms-cui-topBar2, .s4-notdlg, .s4-pr s4-ribbonrowhidetitle, .s4-notdlg noindex, #ms-cui-ribbonTopBars, #s4-titlerow, #s4-pr s4-notdlg s4-titlerowhidetitle, #s4-leftpanel-content {display:none !important;}
.s4-ca{margin-left:0px !important; margin-right:0px !important;
</style>
Thanks and Regards
Amit
Comments
Post a Comment