Forum Discussion

yammy's avatar
yammy
Copper Contributor
Aug 23, 2019

Centering Pages in Modern Experience

Hello all,

 

I'm having some trouble searching for a way to center a master page or a modern experience page in SharePoint. There is so much space on the right and I'd like to have it centered rather than have everything all to the left.

 

PS. I removed the current nav on the left (which is what I prefer)

 

Anyone know how I can make everything on my site centered?

 

Thanks!

  • Not sure if Microsoft did this by mistake or not, but do the following to center your content. Found this little trick by accident.

    Gear > Change the look > Navigation > Horizontal Orientation > Site navigation visibility off
    • ganeshsanap's avatar
      ganeshsanap
      MVP

      ThatSharePointGuy lpjanaka Boris Puncer David_Swenson CarlDeanCatabay yammy 

       

      Microsoft released these new features for navigation in SharePoint team sites.

       

      You can either hide the site navigation using "site navigation visibility" option or move site navigation from left side to the top of the page just below the site header like on a SharePoint communication site.

       

      You can find more information about these features at: New Navigation features for SharePoint team sites 


      Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

    • CarlDeanCatabay's avatar
      CarlDeanCatabay
      Copper Contributor

      ThatSharePointGuy 

      This worked. I was working on hiding the navigation because I can't control it via group settings in our team site, so I had the navigation turned off by default. The moment I turned it on, the content got centered. I turned it off again and it stayed that way. 🙂

  • yammy Unfortunately, there is no supported way of doing this in a Office 365 Team Site. There are some hacks out there utilizing SPFx Extensions, but I advise against this.

  • Rachel_Davis's avatar
    Rachel_Davis
    Steel Contributor

    yammy 

     

    If you want content centered and no left nav bar, you should create a communication site. By removing the left nav bar in a team site, you have also removed the search box. No one can use search on your site - not from a page or in a list or library or anywhere.

     

    In either case, you will have the same amount of white space. It's just split differently on a comm site.

  • RobElliott's avatar
    RobElliott
    Silver Contributor

    yammy we're busy adding vertical sections as our laptops are 1920x1080 and up to now there has been a lot of white space on the right. But a vertical section uses up the white space, particularly if you use the Quick Access menu on the left as the result is perfect. If you don't there is still a small amount of white space but it's better than before.

    Rob
    Los Gallardos
    Microsoft Flow Community Super User

Resources