How to decrease line spacing in pagetree in a sidebar?


I would like to use a pagetree instead of child pages in a sidebar. However, I find the space between the lines in the page tree quite big. What css element do I need to modify to decrease the space between the lines in the pagetree in a sidebar?

I am familiar with using custom stylesheets in Confluence. Neverthless, I was unable to find what element I need to modify to achieve the desired effect. Firefox (Inspect Element functionality) discovered the following element:

.acs-side-bar, .acs-side-bar-flyout, .acs-side-bar td {
line-height: 12px;
font-size: 10pt;

Unfortunatley, this doesn't seem to be the right one and I couldn't find any other element which would affect the line spacing in the page tree.

Thank you in advance,


2 answers

Hi Viktor,

Can you confirm what version of Confluence you are using, and what space theme is in play here. It sounds like Confluence 5.x and the global look and feel theme, but just wanted to check.


Hi Charles,

you are correct. I am using version 5.3 with the Default theme and with the default site layout. I am using my custom stylesheet (configured in the admin page) for some minor visual improvements.



Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

345 views 20 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you