Hide Confluence sidebar default theme

Hi,

is it possible to hide the sidebar in the defult theme?

With the documentation theme it's possible hide it.

Regards, Chris

5 answers

This widget could not be displayed.

You can use the HTML macro and some CSS to hide it. You'll need to use an inspector to suss what is appropriate for your version of Confluence. For example, in 5.1:

<style>

#splitter-sidebar {
	width:0 !important;
}

#splitter-button,  
#splitter .vsplitbar {
 	display:none !important;
}

</style>

Works like a charm! Thanks!

This widget could not be displayed.

Hello.

I'm not familiar with CSS, but I've just modified my personal space style with Confluence default theme (not Documentation theme).

It seems sidebar is hidden.

I hope this would be any help...

div.theme-default .ia-splitter #main {
    margin-left: 0px;
}
.ia-fixed-sidebar, .ia-splitter-left {
    display: none;
}
div#main {
    margin-left: 0px !important;
}
div#footer {
  margin-left: 0px !important;
}

This works for Confluence 6.3 also.

This widget could not be displayed.

Hi Chris,

Can you clarify which version of Confluence you're asking about? I'm assuming 5.1.x but I don't want to assume.... I'm sure you know the saying...

This widget could not be displayed.

Push the "[" key to minimize the sidebar. I recommend you don't totally remove the sidebar as it'll remove your Space Tools link.

You can use jQuery and add CSS to the space or site wide to set the sidebar to it's minimized state.

Or if you're really set on removing the sidebar

We would like to do just that - minimize the sidebar when opening a certain space. How can I do that?

This widget could not be displayed.

This works for 5.4 at least... maybe more - my admins just gave me this one and it works to get rid of the sidebar when you add it to your stylesheet.

div#splitter-sidebar {display: none;visibility:hidden;}

Copy the address of the Space Administration page first and save it somewhere you can access it whenever you want since you're going to be hiding the Space Tool button permanently.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

297 views 2 4
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