If you want to quickly remove the side and top navigation from a SharePoint Online classic page to make the content full page, add a script editor webpart, and put this CSS into it:
<style>
#s4-titlerow
{
margin: 0px;
padding: 0px;
width: 0px;
height: 0px;
visibility: hidden;
}
#sideNavBox, #contentBox > #DeltaPageStatusBar, #contentBox > #notificationArea, #contentBox > #mainContent {display: none;}
#contentBox { margin-left: 0px; margin-top: 0px; width:100%;}
</style>
If your script editor web part is missing, run this powershell script to make it show up:
Set-SPOsite -Identity "https://contoso.sharepoint.com/sites/testsite" -DenyAddAndCustomizePages 0
Resources:
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.