SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wanted to hide the link new subsite, available in viewlsts.aspx for all users in few SharePoint sites.

Is there any way to hide this link?

share|improve this question

You can add a script to hide the "New subsite" link in masterpage. You can find the id of the tag with Web tools in firefox. Mine is id="createnewsite" So yours have to be it too. You have to add the fllowing code under PlaceHolderAdditionalPageHead.

<style type="text/css">
share|improve this answer
Can this be done using Powershell code? – user2598808 Jul 24 '15 at 6:28
I have no idea but i dont think so. – e.ozmen Aug 2 '15 at 22:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.