Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Export PDF Stylesheet [data-layout-section="true"] modification doesn't work.


Hoping for a little help.

I am seeing that everything that happens to be or of the container is wrapped in a div element with the attribute [data-layout-section="true"] I tried to target this and I have been unable to get any modification what so ever.

My Current PDF Stylesheet

@page {    
size: 216mm 279mm;    
margin: 5mm;
} {    
box-sizing: border-box;    
width: 190mm !important;    
max-width: 100%;    
align-self: center !important;    
margin: 0 !important;    
padding: 18px !important;
} div[data-layout-section="true"] {    
margin-left: -5mm !important; /* My Attempt to shift content left. */

The first two @pagetTeng and are working properly. Has anyone else had issues with the export format?


Thank you!

1 answer

Not 100% sure, but it seems to me that 'data-layout-section="true"' would indicate that for this section it takes the lay-out that is already given. Haven't been able to find anything to back that up, though, so could just be a guess.

Have you tried removing that bit?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

43,970 views 33 137
Read article

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