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

Accepted Answer
2 votes

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
Community showcase
Posted Thursday in Confluence

What are your project planning tips?

Hello Community,  Jessica here from the Confluence product marketing team! Today I wanted to get your takes on project planning –– what works, what doesn’t, how do you know if you’re doing it r...

165 views 0 3
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