How do you change position of labels?

I would like to display the labels-section on one of my pages inside a panel macro. I tried to do a .clone().appendTo() to display the labels in another div and that did not work. I have also tried changing it's position using CSS but that also does not work. Any help would be greatly appreciated.

 

Confluence v. 5.1.3

3 answers

1 accepted

This widget could not be displayed.

Hi Ben,

what CSS did you use to change the position of the labels section? I tried it in Confluence 5.5.7 and it worked.

div#labels-section   { position: absolute; left: 200px; top: 100px; }

Cheers,
Kirstin

This widget could not be displayed.

Hello Kristin,

The CSS  I used was about the same as yours - I just used bottom instead of top. I ended up getting a display page information macro so it would work, but when I use that it does not leave the bottom of the page no matter what I type. I can have it like this and it ends up staying in the same Y position and moving along the X plane until about the mid-way point.

{ position: absolute; left: 100; bottom: 200 }

 

But as I said, I got it to at least display the tags with the macro, so it functions for now - we are updating to 5.7.x sometime soon so hopefully the CSS will work when we do that.

 

Thank you,

Ben

 

 

This widget could not be displayed.

Okay,

I ended up figuring it out. It was a brain fart on my part more than anything. If I use negative values I can move it past the boundaries.

So I made two separate ones a

div#likes-and-labels-container {} - with a relative position rather than absolute

And

div#labels-section{} with a left: -34%

and I was able to move the entire container up to the Y position I needed and then moved the labels a negative amount to the left after hiding the likes section to move it past the X boundary it had.

Thanks, I probably would have just kept it with the macro and had two labels if you didn't post this and motivate me to give it another college try.

Suggest an answer

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

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

203 views 2 4
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