Selectively Hide SharePoint Subsites contained within a Sub Site from Global Navigation Menu
I have a SharePoint 2010 Publishing root site. I have many sub sites under the root site. I have sub sites under the sub sites. My question is this: How do I hide one of the sub sites within a sub site from the Global Navigation sub site menu without eliminating all of the other sub sites contained within the same sub site? I just want to hide one or two sub sites within a sub site from the global navigation menu only. I have tried Site Settings and all types of configurations within Site Settings>Navigation to accomplish my goal. No luck! Any ideas?
September 9th, 2015 9:56am

Hi Maurice,

For this issue, I recommend to use CSS to hide the corresponding menu, and you can add the CSS code to mater page.

For example, if a sub-site is called test1, and it has a sub-site called test11 and the relative URL of the test11 is /test1/test11 in top site.

Then the code example is as below:

<style>
a[href="/test1/test11"] {
    display:none !important;
}
</style>

Thanks,

Victoria

Free Windows Admin Tool Kit Click here and download it now
September 9th, 2015 11:11pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics