It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 in Confluence

Introducing Confluence Cloud and Jira Software Cloud Premium

Wherever you are in your team’s journey , our goal is to support your big ambitions. We’re a cloud-first company with the mission of unleashing the potential of every team, and to address the range ...

614 views 4 17
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you