question

Swares avatar image
0 Votes"
Swares asked Swares answered

Sharepoint 2019 classic - removing the left navigation menu

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

office-sharepoint-server-administrationoffice-sharepoint-server-developmentoffice-sharepoint-server-customizationoffice-sharepoint-server-itpro
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

EchoDu-MSFT avatar image
0 Votes"
EchoDu-MSFT answered

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.





test.txt (155 B)
4.png (13.2 KiB)
5.png (59.8 KiB)
6.png (11.2 KiB)
code.txt (120 B)
7.png (4.2 KiB)
css.gif (550.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Swares avatar image
0 Votes"
Swares answered

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Swares avatar image
0 Votes"
Swares answered EchoDu-MSFT commented

Hi @EchoDu-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?

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Swares ,

Thanks for your reply.

Based on my research, we could not remove the space on the left side of the SharePoint classic page, it is by design.

Have a nice day!

Thanks,
Echo Du
============================
You can directly click “Comment” option under “My Answered” to put forward your opinions and thoughts about solution that I propose.

0 Votes 0 ·
Swares avatar image
0 Votes"
Swares answered EchoDu-MSFT commented

Hi @EchoDu-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?

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Swares ,

Thanks for your reply.

Indeed, there is still space on the left, but no content. You can also use the "Script Editor" web part to achieve this, but it only works on a current list or library, not on the entire site.

Please following steps:

1.Go to list/library, click on Edit page

2.On the Edit page, click on Add a web part link and add the "Script Editor" web part.

3.Paste the below code.(textcode.txt)

98081-1.png

98028-2.png

Thanks,
Echo Du



0 Votes 0 ·
testcode.txt (155 B)
1.png (25.4 KiB)
2.png (48.1 KiB)