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">
    				$!sitemeshPage.getProperty("page.ia-sidebar")
    			</div>
    		</div>
    #end

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.
Cheers,
WZ

William,

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.

Cheers

Chris

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 Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

743 views 21 12
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