How do I change space layouts in custom themes?

Still need help?

The Atlassian Community is here for you.

Ask the community

Purpose

Many custom themes do not support configuring a custom layout via the user interface. The guide below is an example to change the layout in the Documentation theme. The aim is to remove the children displayed at the bottom of the page. 

Solution

  1. Unzip the <confluence-install>/confluence/WEB-INF/classes/com/atlassian/confluence/setup/atlassian-bundled-plugins.zip (for Confluence 4.3.x and earlier) or go to <confluence-install>/confluence/WEB-INF/atlassian-bundled-plugins (for Confluence 5.x and above)
  2. Unjar the doctheme-X.X.X.X.jar in the unzipped atlassian-bundled-plugins.zip.
  3. Once unjarred, edit the /doctheme/decorators/page.vmd.
  4. Comment the following line in the file:

       ##renderChildren()    
    
  5. Save the file.
  6. Jar the file back to doctheme-X.X.X.X.jar.
  7. Zip the atlassian-bundled-plugins.zip back (for Confluence 4.3.x and earlier only)
  8. Restart your Confluence. Your changes would be reflected after this.

If you need a guide to help with the editing files within JAR archives, you can refer to this documentation. However, please keep in mind that the Documentation Theme plugin is part of bundled plugins. Hence, it is stored in a special place, which is located at <confluence-install>/confluence/WEB-INF/classes/com/atlassian/confluence/setup/atlassian-bundled-plugins.zip. Therefore, if you are following the guide, please make sure the paths are correct.

Last modified on Feb 23, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.