Customize sidebar of default theme

I am switching from documentation theme to default theme due to the removal of doc theme support.

I would like to have customizations like:

  • Wrap the child tree instead of showing a scroll bar
  • Set a fixed sidebar size (in %)
  • etc.

Can this behavior be configured somewhere or can someone point me on how to achieve this via CSS? (i.e. point to the most appropriate ID to which the CSS shall be applied)

Changing the velocity file is too complicated and not really an option for me, but if this is the only way I would like to know that, thanks.

1 answer

1 accepted

After a long reverse-engineering exercise I figured out how to have the text wrap; I added the following CSS in the space stylesheet.

For the fixed size I gave up because it is implemented via JS and it would be too complicated to override it.

.ia-fixed-sidebar div.plugin_pagetree ul.plugin_pagetree_children_list .plugin_pagetree_children_span a {    white-space:normal !important; }

 

 

Hi,

I don't know CSS but have the same desire for text wrapping in the sidebar after moving away from the Documentation theme. I have no other content in my space stylesheet and pasted the code above with no effect. Does anyone have any guidance?

Thanks for any help!

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 Friday 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...

296 views 11 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