Sharepoint 2019 classic - removing the left navigation menu

Pedro Soares 406 Reputation points
2021-05-18T18:04:11.8+00:00

Hi, I did some testing and I was able to hide the Quick Launch, from the Navigation Elements option under Site Settings on a modern team site. However, in classic team site, the Site Contents link remains there, even if I delete the link from the Quick Launch links. Is this a bug? Do I need to revert to the old method of creating a code snippet to hide it?

Thank you

Microsoft 365 and Office | SharePoint Server | For business
Microsoft 365 and Office | SharePoint Server | Development
0 comments No comments
{count} votes

Accepted answer
  1. Echo Du_MSFT 17,316 Reputation points
    2021-05-19T06:28:36.283+00:00

    Hello @PedroSoares-4915 ,

    Please following steps:

    1.Save the below CSS code and upload it to SharePoint site “Site Assets” document library. I name it test.css.

    97756-4.png

    2.Open the SharePoint Designer 2013. Find the “Seattle.html” in the Master page. Right, click on it. Then click on “Edit in Advanced Mode“.

    97757-5.png

    3.Now the “Seattle.html” page will come. Search for the

    97801-6.png

    4.Don't change any things. Just add the following line below it. (code.txt)

    97802-7.png

    5.Save the "Seattle.html"

    97785-css.gif

    Thanks,
    Echo Du

    ===============================

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    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.

    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Pedro Soares 406 Reputation points
    2021-05-19T14:45:02.297+00:00

    Hi @Echo Du_MSFT ,

    Thanks for the detailed explanation. Is it possible to do the same without using Sharepoint Designer 2013? If I'm not mistaken from the GIF, the left side still has the space there, it just doesn't have contents, or did I get it wrong?


  2. Pedro Soares 406 Reputation points
    2021-05-21T00:26:30.82+00:00

    Hi @Echo Du_MSFT ,

    Great detail thank you. What would you need to do to remove the space, not just the contents, just like you have in the modern page?


  3. Pedro Soares 406 Reputation points
    2021-05-21T10:31:59.9+00:00

    Ok thank you, that is odd, it was possible to do it on previous versions. Maybe a strategy to promote modern pages.

    0 comments No comments

Your answer

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