How do I remove the sidebar when using Global Look and Feel

I want to remove the sidebar from a space so that the entire screen real estate is used for content, and in removing the sidebar I will need to ad the "Browse" menu into the main menu to get to the Space Admin (similar to the Documentation Theme).

2 answers

1 accepted

Resolved, using the Global Look and Feel Theme, where Style sheets can be edited...

In the Space Admin->Layout->Main Layout code, find the following statements

#elseif ($useNewSpaceIA && $sitemeshPage.getProperty("page.ia-sidebar"))

    	<div class="ia-splitter">
    		<div class="ia-splitter-left">
    			<div class="ia-fixed-sidebar">

and remove the 6 lines between the #elseif .. #end lines (leaving these)

and walla, the sidebar is no longer rendered.

The to get to the Space Admin for this space, just go

Confluence Admin->Space Permissions->Manage Permissions for the space and you are now in the spaces admin pages....

Hi Chris,

  1. Each user can collapse the sidebar individually, and their preference will be remembered (via a cookie). If you're using Confluence 5 series, you'll see the option in the top right, the option to collapse.
  2. Use the Documentation Theme instead, and collapse the page tree individually
  3. Look into a third-party plugin eg Adaptavist's Builder Theme, which will allow you to customise your own theme layout. NB: Themes customised with Builder Theme are not supported by Atlassian.

I hope this helps.


I should have added a few more requirements.

1. This is needed for a single space that contains 1 page, our Confluence site Home page.

2. I need all the realestate for links and our customised navigation, so I don't even want the option for users to show the sidebar

3. I don't want to pay for this.



Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,132 views 22 10
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