How do I set the side bar show/hide button to default to "hide" in certain spaces?

We would like to hide the side bar in some spaces by setting the show/hide button to default to "hide" instead of "show." Is there some sort of setting in Confluence that allows changing this default on a space by space basis, or would we need to use JQuery? If the latter, what would you recommend using? We use the documentation theme in the spaces concerned and run Confluence 5.4.4.

Thanks!

1 answer

1 accepted

Accepted Answer
1 vote
Davin Studer Community Champion Apr 28, 2014

You could write some JavaScipt to progrmatically click the collapse button on page load for the spaces where you want this to happen. I have done this in the past.

Thanks. :) Any suggestions on what code to use or code resources? I'm a newbie to JavaScript.

Davin Studer Community Champion May 02, 2014

Are you using the default theme or documentation theme?

Documentation theme.

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

155 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