A Pen by anthony rivera on CodePen.
Created
October 9, 2020 23:13
-
-
Save ar94952/1e2e0e41fa63fc3e0f4d483b1de2b67f to your computer and use it in GitHub Desktop.
Remove SharePoint Left Nav
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- CSS code to remove Left Navigation Menu on SharePoint --> | |
<style unselectable=”on”> | |
/* On site page hide left navigation menu */ | |
#sideNavBox { | |
display: none; | |
} | |
/* adjust position of content on site page | |
NOTE: each viewport may vary in sizes, so adjust | |
"margin-left:" to center your SharePoint WebPart Contents | |
*/ | |
#contentBox { | |
margin-left: 20px!important; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SharePoint Left Navigation can get pretty cluttered, so I found this code somewhere and I saved it. I can't remember who I got it from.