[All Adaptavist Apps]

Page tree

Use the visual theme editor to quickly customise Confluence...

Introducing Theme config

The theme configuration screen allows you to manipulate the look and feel of the Builder theme to suit your needs, you can use it to easily add and remove panels, change colours, fonts & background images and even add new functionality to confluence.

The theme configuration screen can be split into two main areas the layout editor is can be seen on entering theme configuration and the panel editor is the screen that appears when you click on one of the panels in the layout editor.

The menu above the layout editor is used for making changes to the theme as a whole, switching panels on or off, making changes to the default menu style, hiding parts of the breadcrumb trail etc..

Above the panel editor there is a similar menu which is used for making changes to the panel selected either through the Edit menu or by clicking on it in the layout editor. The panel editor allows you to change a multitude of settings that affect the look of the individual panel from background colours & images to border styles and even selecting font types and sizes.

Changing the layout

The first step in configuring the Builder theme is to choose the panels that you need to be visible. Builder currently offers nine panels to choose from, the arrangement of these panels mean that pretty much any layouts desired can be achieved by judicious choice of which panels are visible.

If you are unsure as to which panels would be a good choice for your chosen layout then please contact us with a jpeg or link to the style that you are hoping to create and we can advise which panel arrangements may suit you best.

The image above shows the layout editor when all of the available panels have been switched on, you do not have to use all of the panels, in some cases you may wish for only one panel to be visible, however the Builder theme offers you the flexibililty to choose the layout you need.

You can select which panels are visible and which are not using the View menu from the menubar above the layout editor, a panel is hidden by unchecking the box next to it and displayed by checking the box.

When a panel is made invisible the structure of the document changes and adjusts so that to the end user it would appear that the panel were never there in the first place! This is a philosophy that is followed throuought the theme, rather than just hiding the chunk of HTML that would normally display the panel, the HTML is removed so that the end user doesnt have to download any more data than they really need to!

For now, let's switch on the left sidebar, and switch off the left slider since later on we are going to move the menubar from the menu area into the left sidebar and we dont really want users sliding the menu out of view as it can lead to confusion!


Changing the look

When you click on a panel in the layout editor (or select it through the edit menu) the panel style editor appears below the layout editor.

One very frequently used parameter is the background colour of the panel, this can be selected in several ways, the most basic of which is by using the Background->Colour->Custom menu option to bring up a dialog box that allows you to enter the hex value of the colour you desire.

Alternativley you can choose the preset Black or White colours, or even the very frequently used Transparent option that lets the colour of the page show through. This is most useful when you are using a background image applied to the page and want it to show through the other panels. The 'inherit' option allows you to have the colour chosen for the page applied automatically to the selected panel, this often gives a very similar effect to the 'transparent' option however if you are using a background image this will not show through the inherited colour.

If you don't already know the hex value of the colour you want or just feel the need to browse until you hit upon a colour then you can bring up the inbuilt colour picker by selecting the Background->Colour->Select menu option.

The grey boxes down the right hand side of the colour picker control the overall brightness, of the centre section which is arranged so that the colour is defined by the horizontal position of the colour cell, while the vertical defines the saturation, the columns of colurs down the left hand side are pre-set colours and the band of colours across the top display complimentary and contrasting colours to the current selection. The bottom row of the picker displays a history of recently chosen colours.

The panel editor provides control over the full range of css options from setting background colours and images to the panel border width & style, through the Border->Style and Border->Width menu, the font used within a panel can be set using the Text->Font menu along with all manner of text-layout options found in the Text->Formatting menu.

Each time you make a change the result will be displayed in the panel style editor, once you are happy with the changes you have made to the panel the settings then need to be applied to the layout editor before moving onto the next panel using the apply button in the lower right of the panel editor.

To view the panel settings applied to the whole theme, you will need to save your changes back to the server using the File->Save Changes menu option. When you are finished with updating the theme configuration, then it is highly recommended that you save a backup copy of your theme configuration using the File->Download Settings option. This backup is most useful for those times when you are trying out new styles and need to refer back to older versions you were happy with.

Changing the feel

Probably the most often requested feature from Builder 1.x users was the ability to put wiki markup into the header area. With Builder 2.0 we took this request to it's final conclusion and have made every panel definable using wiki markup, including taking all of the features of the confluence page and blogpost view screens and converting them to macros so that they can be added or removed by editing the markup for the panel that contains them.

For instance, to completely remove the comment display and editor from all pages you will need to click on the page footnotes panel, scroll down past the panel editor to the text input box that contains the markup that is used to populate the footnotes panel and remove the {builder-comments} macro from that box.

Similarly the {builder-children} macro that outputs the confluence children display could be moved from the footnotes area over into the right sidebar, we would probably also want to hide the right-sidebar by default so that the children display is still accessable but doesnt take over too much of the screen display.

To do this you would first remove the builder-children macro from the footnotes area, then enable both the right sidebar and slider, then enter {builder-children} into the right sidebar and check the 'collapse this sidebar by default' checkbox.

This procedure can be used to move any of the screen elements about, the menus may be moved from their default location to any of the panels, often panels are used merely to position the content or contain background images used to frame the page.

  • No labels

22 Comments

  1. Anonymous

    Sorry for the simple question – I can't figure out how to get to the Theme Configuration window...

  2. Anonymous

    Being able to download and upload a configuration is really useful; thanks. Is the theme configuration for a space also included in the confluence backup? That is, if I restore Confluence from a backup, will I also get the old Builder theme settings in each of my spaces? Or, is the theme configuration in the database? Or, do I need to always download the configuration?

    1. Unknown User (gfraser)

      The theme config should be in the backup as it's stored in the config directory (for Confluence 2.2.x) or in the database (for Confluence 2.3.x).

      1. Unknown User (dhardiker)

        All currently released versions of Builder store the theme data in the config directory of the confluence home - regardless of the Confluence version (including v2.3).

        This is expected to change for Builder v2.1 and beyond.

  3. Anonymous

    Is it possible to copy theme modifications from one space to another?

    thanks!

    1. Unknown User (gfraser)

      Yes - in the File menu, download settings and then upload to any number of other spaces. In Builder 2.1 we'e centralised the theme configs so they can easily be applied to multiple spaces (smile)

      1. Anonymous

        Great! Thanks Gary and sorry I somehow missed the obvious... (sad)

  4. Anonymous

    Hi,

    How do I place a picture (which I have uploaded as an attachment) in the header?
    I am using the Adaptavist Theme Builder; when I choose to edit the header and go to "background" -> "image" -> "image...", I get a pop-up window with the following message: "Enter the URL to the background image". This works fine with actual URL's, but what do I do if I want to point to an image which I have uploaded on the space? I tried using the attachments syntax (as specified in the User Guide - using square brackets and a caret), but to no success...

    Thanks for your help!

    1. Unknown User (amoran)

      Builder 2.x does not support the SPACEKEY:pagename^attachment syntax (3.0 does) so you will need to go into the attachments screen for the page that you have attached the file to, view the attachment and copy the URL (minus the domain name) out of the address bar.

    2. Unknown User (hegan)

      I don't know if you're still watching this, but I have just discovered the magical

      Unknown macro: {move-to}

      Builder macro, which enables you to make page content appear in a predesignated position in a panel, such as the header. Check it out.

  5. Unknown User (jdebari)

    Hi,

    I know iI can copy themes from one space to another, but how do I set the theme globally? When I make changes in the admin section to the Builder theme, it does not seem to apply those changes globally. Each time I make a new space I have to copy my changes, which takes more time.

    Thanks.

    1. Unknown User (jeff.klassen)

      Has anyone answered the question above? I am experiencing the same problem. I want to set a global theme everytime a user creates their own personal space & I create a regular space.

      Please help...

      1. Unknown User (gfraser)

        That will require Builder 3.0 which will be out in roughly 1-2 months. If you want to help us beta test (existing Builder clients only) please post a request in our online support system at https://support.adaptavist.com under the Builder support project.

        We've started adding docs for Builder 3 in to the user guide - see tree view top-right (you may need to expand the right sidebar using the little arrow to display the tree view).

  6. Unknown User (johnm)

    Is there a resource for themes that I can import and use/modify? I found the link to 3 samples themes here, however, are others sharing there themes as well?

    Thank you!

    john

    1. Unknown User (johnm)

      I moved this question here:

      http://www.adaptavist.com/display/USERGUIDE/Sample+Theme+Configuratons

      I think that is a more appropriate place to ask...

      Thanks

      John

  7. Unknown User (pkelley)

    I am trying to size the "Left Sidebar" so that it appears the same width on all pages regardless of browser window size. So far I have tried setting up the width, the max width, and the min width. The page loads but will resize based on the size of the browser window.

    How do I set up the width of the left sidebar so that it remains the same all the time?

    Thanks,
    Phil

  8. Unknown User (barretto)

    Hi,
    my layout consists of a header, a menu bar, a navigation bar, a left-side bar and a page of content.
    When the text of the page of content overflows the size of my screen, I would like to have a scroll bar affecting only the page of content, so that my header, menu bar, left-side bar remain visible on the screen.
    I tried to change overflow settings in the panel editor unsuccessfully.

    Any idea?

    Thanks,
    Johan

  9. Unknown User (barretto)

    Hi,

    I have also a margin and padding problem in the left-side bar.
    These properties don't seem to work...

    Please help..

    Johan

    1. Unknown User (gfraser)

      Please create an issue ticket at https://tracker.adaptavist.com in the Builder Support project.

  10. Unknown User (farleyw@amerch.com)

    Is there a way to change the powered by text at the bottom of the page. I have changed it in the global site layouts but the theme builder spaces do not seem to be using it.

    1. Unknown User (gfraser)

      Hrm - that's a somewhat tricky question to answer as the EULA (both Builder's and Atlassian's) comes in to effect. However, it's a question that gets asked a lot - would you mind posting a topic in our Forum so I can answer in a more visible location?