Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Too much space between the page title and the top page edge

Anastasiia Roshchupkina November 20, 2024

There is too much space between the page title and the top page edge. Is there a way to fix it using CSS? Tried something like:

@page {

     margin-top: 0;

}

and it doesn`t help at all.

Screenshot 2024-11-20 at 09.56.52.png

 

Also, the font size of the doc is too small, but I can not change it using CSS, nothing happens. I try this:

body,p,li,td,table,tr,.bodytext,.stepfield {

    line-height: 1.2;

    font-size: 12pt;

}

 

Last week, it worked fine. Please, help, thanks.

2 answers

1 vote
Kristian Klima
Community Champion
November 20, 2024

Hi @Anastasiia Roshchupkina and welcome to the Community.

I'm gonna sound like a broken record but the best way to get consistently good looking pdfs from Confluence - without headache - is to use Scroll PDF exporter.

It applies to your other question.

0 votes
Cosmin Soare December 5, 2024 edited

Hi, I think it's linked with this article due to the new update. Check @page section:

Exported PDFs now more accurately match Confluence... - Atlassian Community

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events