The code to hide “Updated Pages” part on wiki libraries has changed somewhat from older versions of SharePoint.
The code now is:
<style type="text/css"> .ms-quicklaunchouter{ display: none; } </style>
Simply add a “Content Editor webpart” on your page. Go the html source and add the following script.
The script just hides the block via CSS.
One of the most simple tutorials ever. It worked!
Worked like a charm!
Works – but only with Script Editor Webpart (not the Content Editor)
Thanks!!!
Works fine with script editor! Thanks.
Actually, it worked well with Content Editor, it’s just a little trickier:
1. Add the Content Editor webpart
2. Edit the webpart
3. You’ll see a “Click here to add new content” link within the webpart, place your cursor inside the box as if you were going to type there, BUT…
4. In the “Format Text” tab, select “Edit Source” in the Markup section
5. Paste the above code into the blank page and hit OK
6. Before you close, in the webpart editing menu (on the right side), under Appearance > Chrome Type, select None.
Thanks for the code, Marijn! Only thing I would still like to see is how to remove the gray line that is now residing above my Quick Launch (which used to separate the Updated Pages list from the QL).
Found it — and to avoid all the steps I mentioned above, do use a Script Editor 🙂
.ms-quicklaunchouter{ display: none; }
.ms-core-listMenu-separatorLine { display: none; }
dang it… can’t edit replies… add the “style” lines as mentioned in Marijn’s original code. Sorry for the mess.
Hello.
It woks for me until I clicked the saved button. After that the menu reappears, and if I open the source, the only iinstructions left are .
This doesn’t work for me (Office 365; 2017-07-26); the method described at https://stackoverflow.com/questions/21905139/sharepoint-2013-deleting-contents-of-style-in-embed-code-when-saving works;
1. Edit the page.
2. Insert > Media and Content > Script Editor
3. Edit Web Part
4. Edit Snippet.
5. paste
.ms-quicklaunchouter{display:none;}
.ms-core-listMenu-separatorLine{display:none;}
6. Save.
Refer to https://support.office.com/en-gb/article/Allow-or-prevent-custom-script-1f2c515f-5d7e-448a-9fd7-835da935584f?ui=en-US&rs=en-GB&ad=GB for changes since July 2017 on embedding script.
thank you