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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How do you left align images that are inside lists in PDF exports?

I'm stuck with this problem where in Confluence pages the images look fine but when exported in PDFs the images are centered.

I tried to add css by targeting `ol img` but that doesn't seem to work.

One thing to note is that the ability to align images are not available when images are inside lists.

2 answers

If anyone is new to working on CSS overrides on PDF exports, going to View Source of the page really helps you understand the html markup and you should have a good starting point as to which elements and classes to target. And yes, it looks like the View Source page is exactly what gets translated / exported to PDF.

Screenshot 2023-01-19 at 6.57.20 PM.png

Ps. Just thought to put this out here.

0 votes
Dave Mathijs Community Leader Jan 19, 2023

Hi @chris_javier welcome to the Atlassian Community!

For this question, I'm referring to the following documentation article: Customize exports to PDF

I don't believe Confluence natively allows you to determine the alignment of images in a PDF export. However, a third-party app like Scroll PDF Exporter for Confluence may meet your requirement, to be confirmed.

Thanks @Dave Mathijs

Actually, I figured this overrides the auto center alignment.

.wiki-content .image-center {
margin-left: 0;
margin-right: 0;
Dave Mathijs Community Leader Jan 19, 2023

So it is possible after after all?

Like Dave Mathijs likes this

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events