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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • 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

Centering images in a section

When I'm in Edit mode I can nicely center text + image underneath the text but the preview shows only text centered and images are aligned to the left.

1 answer

0 votes
Dominic Lagger Community Leader Sep 19, 2019

Hi @Dawid Nawrot 

In confluence server, this works just fine in edit mode, and in view mode. 


Perhaps, in confluence cloud, this is a little bit different. Can you share a printscreen?

Make sure, that you click on the picture and allign the picture to center. Don't just select all and center it, try to center the image explicitly.

I hope this helps a little bit.

Regards, Dominic

Edit mode



Preview mode


Same image under the same text. Clearly in edit mode it's centered. The image is wider than text

I had a look in the code and the image does get class "image-center" but it doesn't do anything because its parent SPAN is inline and only gets width of the image, and then its parent P is not centered


html.pngYou can see it here. the first P is text and has centering. Second is the image

Suggest an answer

Log in or Sign up to answer
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...

408 views 23 8
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