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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Monday in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

194 views 3 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