Hide page from tree
Asked by David S?nchez Guerrero:

Hi, I need to hide a page from the space tree.

I've seen other posts that advise to just move the page in the hierarchy out of from the children of home page. People say to put it at the same level, and once it's an orphan page, it's hidden.

But I've done that, my page is orphan and it keeps appearing in the tree.

Anyone knows how to definetly hide this page??


Answers:
author: Raja Shekher Kammara
body: Hi [David S?nchez Guerrero](https://community.atlassian.com/t5/user/viewprofilepage/user-id/2202869)

Thank you for the screen shot.

Setting a page to orphaned does work to remove it from the "page tree" list. But it will still be available within the space as shown in the screen shot that you have shared.

You can use "Page Restrictions" which restricts a page from view.

More info on "Page Restrctions" can be found here - <https://confluence.atlassian.com/conf64/page-restrictions-936510656.html>

Hope this helps.

Warm Regards,

Raja

comments: author: David S?nchez Guerrero
body: Hi Raja, first of all, thank you so much for your help.

Restrictions are good for a total hiding of the page, but I want it to be hidden in the tree but accessible by direct link to the page.

So, not visible in the tree but working if I want to access it via link from another page.

The editors don't want to be accessible by navigation, but only from an specific page.

Sorry I didn't explain myself better.


author: Raja Shekher Kammara
body: If you want to hide the page "re-order pages" section too, then all you need to do is to write a Style sheet.

Go to Space Tools --\> Look and Feel --\> Style Sheet

Write the below code

#**node-24085450**

{display: none;}

---------------------------------

Above I wrote **node-24085450** because my ID is so.. yours may be different.

**How to find the ID of the Node is,**

After going to the "re-order" pages in Chrome --\> then click on "F12" button (which opens DOM explorer)

select an element in the page.. which is your page name and get the ID of the node name which will be something like - **id="node-24085450"**

save.

That's it, it will disappear :)

Hope this will fix the issue.

Warm Regards,

Raja


author: Raja Shekher Kammara
body: ![FindIDusingDOM1.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/46159i5DDB7265265A37CF/image-size/large?v=v2&px=999 "FindIDusingDOM1.PNG")


author: David S?nchez Guerrero
body: Hi Raja,

thanks again for your help.

With your last post I found out the problem.

I have RefinedTheme plugin and this renames the nodes and insted of node-#### they appear as rw_pagetree_item_#### and that's why it's not hidden by the usual ways.

But thanx to you that I know now what is my problem and now I can look for the way to fix it.

Thank you so much Raja!


author: Raja Shekher Kammara
body: Hi [David S?nchez Guerrero](https://community.atlassian.com/t5/user/viewprofilepage/user-id/2202869)

Please share a screen shot by following the below steps.

Go to Space Tools --\> Reorder Pages

<br />

Warm Regards,  
Raja

comments: author: David S?nchez Guerrero
body: Hi Raja,

here you have the page "P?gina hu?rfana" that is at the same level of the home page ("Epsilon")

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/46148iE5282D29FD890EF9/image-dimensions/461x193?v=v2 "image.png")

and in the next image, it's shown as an orphan page:

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/46149i890712DFE031E0E2/image-dimensions/692x179?v=v2 "image.png")

and finally, the page tree with the page that I really want to hide:

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/46150i383D24ACED2ACE0A/image-dimensions/232x267?v=v2 "image.png")

Regards.


author: Laura Bier
body: does this solution still work? I have tried without success...


Tags: confluence-server

server