how to hide SharePoint 2019 Left Navigation in Modern Team Site?

kitkat 1 Reputation point
2022-12-27T06:55:58.883+00:00

I wanna to hide SharePoint 2019 Left Navigation in Modern Team Site, like the following screen

274212-image.png

i saw some workaround solution from internet, the workaround method is "By adding the query string ?env=Embedded or ?env=WebView to any modern SharePoint URL",
but it's not a good method. Any one know how to config on Sharepoint 2019?

Microsoft 365 and Office | SharePoint Server | For business
{count} votes

1 answer

Sort by: Most helpful
  1. Xuyan Ding - MSFT 7,601 Reputation points
    2022-12-28T07:32:46.697+00:00

    Hi @kitkat ,

    1. Please make sure disable "SharePoint Server Publishing Infrastructure" feature and "SharePoint Server Publishing" feature.
      "SharePoint Server Publishing Infrastructure" feature: Site Settings->Site Collection Administration->Site collection features
      "SharePoint Server Publishing" feature: Site Settings->Site Actions->Manage site features
      274503-image.png
      274465-image.png
    2. Site Settings->Look and Feel->Navigation Elements.
      274426-image.png
    3. Un-check "Enable Quick Launch" option.
      274533-image.png
    4. Save.
      274427-image.png

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.