Would like the labels to be on top of pages instead of the bottom. Is this possible?


I'm a newbee on the forum but I've been using Confluece for 2+ years.

Is this possible? I would like this since we put the status/condition of a page in the label and the pages could be very long and we would like to avoid scrolling down (which can take time) to find the labels.

It seems currently not possible. How shoud I proceed?

Thank you for your support.

Best regards,


5 answers

1 accepted

6 votes
Answer accepted
David Simpson Community Champion Jul 03, 2011

Browse to:

Confluence Administration | Look & Feel | Layouts

in the Content Layouts section, edit Page Layout.

Move this line:

#parse ("/labels/labels-editor.vm")

...below this line:

#parse ("/decorators/includes/page-metadata.vm")

That's it. If you're using a custom theme, then you'll need to edit the page.vmd file in your theme.

Yan, checkout the link to Layout in the space's Space Admin. You can do it there as well I think

Dear David et all,

Thank you very much for the quick answer (amazing speed!)

I was hoping that the change could be made in a particular space only (the theme type of "Document"), not the whole server. (as a slight change could "shock" the 100's of other users). Is this possible?

Thank you again.

- Yan

David Simpson Community Champion Jul 03, 2011

I think you can only change it in...

Space Administration | Look and Feel | Layout

...if you're using the default theme.

Otherwise, you get a message like this:

"You can not customise the site look and feel while a theme is active. You must first disable the currently configured theme."

If that's no good, the a custom theme containing just an edited version of page.vmd is the way forward.

I think if the global theme is the 'default Confluence theme' then you can edit it it also in Spaces. I haven't tested it, but I would assume then that this only affects that space, but ..... maybe not

What theme are you using? If you are using the 'default theme' you can adjust the page layout by going to Admin->Look and Feel->Layouts

You edit the Page Layout under Content Layouts. You'll see where the body is defined and you can move the label related markup above it.

<div class="wiki-content">

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title

#parse ("/labels/labels-editor.vm")
David Simpson Community Champion Jul 03, 2011

Ha! You got there first. Thanks for the vote :)

I'd think you'd need to download the documentation theme plugin, make your chnages, rebuild and install in your instance


Thank you very much.

0 votes
David Simpson Community Champion Jul 03, 2011

If you want it for just one space, then try moving the labels div with some javascript...

Browse to...

Confluence Administration | Look & Feel | Custom HTML

...in At end of the BODY, paste this code:

<script type="text/javascript">
if (AJS.params.spaceKey == "YOUR-SPACE-KEY"){ // add the specific space key here
AJS.$('.page-metadata:first').after( AJS.$( '#labels-section') );

// Unfortunately, this little bit of javascript will get loaded on every page, so a custom theme would really be best.

What if a person is using "Document" theme? What page.vmd file needs to be altered in this case? I searched high and low, but couldln't find a "themes" directory.

I would appreciate any help.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

274 views 2 10
Read article

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