05 June, 2012

SharePoint 2010: Hide Recently Modified

Hi again, after a long wait. Saddly last month couldn't free some time to write a bit. Nevertheless I'm back and with some new tips that will post in the following days.

So the first one is to show, how can you hide the Recently Modified box from the Quick Launch area, in a Wiki Page Library.

Create a new site with a Wiki Page Library
You should get something like this
As you can see there is a, sometimes, annoying Recently Modified box in the Quick Launch.

So check how to hide it in 2 easy steps.

1. Edit Master page in Sharepoint Designer
Ok open your site, go to Master Pages and edit the file V4.master in Code view
2. Paste the following in code between Head tag
Ok now paste this code anywhere between the tag Head and save the changes
 <style type="text/css">

3. YAY!!! Refresh your site and its done.
If you want to keep in touch, feel free to Subscribe to How I did it - Sharepoint Foundation 2010


  1. Bless you for posting this easy fix! Thanks that was very annyoing!!

  2. Awesome tip..

  3. Great tip, take my first born as payment.

  4. awesome !!!

  5. Worked Perfectly! Thanks.

  6. You just saved my day Pedro :-)


  7. Any way to do this without having access to Sharepoint Designer?

    1. Yes its possible to do it without SharePoint Designer. Just follow the steps.

      1. Go to Site Settings > Master Pages
      2. Check the v4.master file and download a copy to your desktop
      3. Edit the copy with notepad or other text editor
      4. Add the css code between the head tag and save the file.
      5. Go back to your Master Pages and upload the new document, overwriting the older one.

      That should do it. If you have any trouble give a shout.

    2. And if your rights are so limited, that you don't have access to the master pages, try a Content Editor Web Part in your page, which is link to a text file with this short Javascript code:
      (Please with opening and ending script tags, which I'm not able to write here)

      d = document.getElementsByTagName('div');
      var cl = new Array()
      if(d[i].className == 'ms-quickLaunch s4-ql s4-recentchanges'){
      cl[j] = d[i];
      cl[0].setAttribute('style', 'display:none');