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

This widget could not be displayed.

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 Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Aug 14, 2018 in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

172 views 12 7
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