Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to remove/hide child pages

Confluence Version 4.1.9

Build 3148

License : Evaluation

Question: How can I disable the child page display which appears by default in the parent page when it has one or more child pages. I have checked in parent page no macro for Children display exists.

Any help, as I have not been able to find any solution online


Dilpreet ()

7 answers

1 accepted

8 votes
Answer accepted

Hi Dilpreet,

I wrote a blog post on how to do this recently -

Hope it helps?


Ivar Rising Star Apr 04, 2013

That was just great to read and use! :)

EddieW Rising Star Jul 29, 2013

Using a JS framework to alter the CSS of artfacts already generated by the server may be the least effective way to do this. Other suggestions that modify the space or global velocity templates, or themes are a more performant approach.

You can also hide it, though it will still take up the space on the page. Stick the below in the CSS #children-section{visibility:hidden;}

boardtc Rising Star Feb 08, 2016

Check comment of that post for html macro\jquery workaround if you don't have permission to edit header


Insert>Wiki Markup

Then, paste this code:

display: none;

You can put it in your space stylesheet (without {style}) if you want to hide all your space children list.

Have a nice day,


Thanks! It works perfectly.

Thank you - this worked perfectly!

Thank you very much ! This works in a page level and that is what I needed !

With the help of following code I'm not showing child pages on space's home page. This is faster, then rendering all child pages and then hiding them via JavaScript:

## CUSTOM (don't show child pages of space homepage): begin
#if ($space.homePage != $page)
## CUSTOM (don't show child pages of space homepage): end

Dmitry, how/where do you add this code to the page?

I don't add it to a page, but rather to default page layout used in that page, which is a Velocity template (*.vm) file.

I added some more details on how to get access to the correct velocity template over here:

(It's the blog of Sarah Maddox -> head documentation writer for confluence)

1 vote

Removing the answer becasue Ivar isn't happy with the answer and for some reason Answers will no longer allow me to remove it.

Ivar Rising Star Apr 04, 2013

This isn't really correct is it? The query is about the "standard" Child pages information on every page, not if you have inserted it as a macro. I have to follow the instructions on this page in order to remove it.

I discovered that "Child Pages" don't show up if you create a "knowledge-base" Space (rather than a "documentation" space.  It also appears as if you can not change the Space type once it has been created, so choose carefully.  Moreover, a "documentation" space also prevents you from using the "Space Tools" which are located in the lower left hand corner of pages that are created with the "knowledge-base" Space type.

I agree that the lack of functionality with the Confluence Cloud is frustrating, but I also understand the need to balance security.  

The Space Tools menu at the bottom left is replaced with a Browse menu at the top.

Deleted user Jan 11, 2016

You can migrate all the pages from one space to another, just by moving the top level. I'd test it first and probably do it out-of-hours, though, it could take a long time with 700+ child pages.

I'm facing the same problem. I'm using the onDemand version and don't have the luxury to change any templates. Would be glad to see if anyone knows a solution to this.

Hiding using JavaScript/CSS is not good, because child list is generated too in that case and server resources are consumed.

I have a page with 792 child pages, which takes infininy to load and knowing that it's space's home page it's really important for it to load fast.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events