Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Hello.

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,

Yan

6 answers

1 accepted

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

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">
$body
</div>

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

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

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

https://studio.plugins.atlassian.com/source/browse/DOC

Thank you very much.

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">
AJS.toInit(function(){
if (AJS.params.spaceKey == "YOUR-SPACE-KEY"){ // add the specific space key here
AJS.$('.page-metadata:first').after( AJS.$( '#labels-section') );
}
});
</script>


// 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.

Thanks!

How do you do this in the latest version of Confluence? I don't see the Layouts option anymore.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

429 views 23 9
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you