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
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

472 views 3 18
Read article

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