You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.
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.
Ps. Just thought to put this out here.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Dave Mathijs
Actually, I figured this overrides the auto center alignment.
.wiki-content .image-center {
margin-left: 0;
margin-right: 0;
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.