How to hide pages from the left pane?

mayank.bajpai October 22, 2021

Here is the scenario.

we have created a main page that contains all the links to the sub pages. However, we would like to hide all the pages from the left pane so that users can just refer to the main page and the available links for each of the pages. Basically, we want to eliminate the duplicacy and to make it consolidated. Thank you.

2 answers

0 votes
Nicolas Casel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 19, 2022

There is a way by using two lines of Javascript.

If you can target exactly the page items to be hidden (or removed), insert these lines in 'Space Tools / Look and feel / Footer':

let elem = document.querySelectorAll('.pages-to-be-hidden-class');

elem.nextElementSibling.remove()
0 votes
Patrick Vanhoof
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 22, 2021

A possibility is to move the pages outside the page tree (same level as home page), then they will not be visible on the left. You will see them when viewing the page hierarchy under space tools, but not when navigating in the space.

Not sure if it's possible in the cloud though...

mayank.bajpai October 24, 2021

Thank you, Patrick. Could you please suggest steps to do this?

Patrick Vanhoof
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 24, 2021

On server go to Space tools > Reorder pages. 

On cloud go to Space settings > Reorder.

Drag and drop the pages outside the page tree (so, NOT under the space home page). E.g. the page 'Test drag drop' will not show in the page tree on the left.

Page tree.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events