Page 1 of 1
Phoca PDF: Extra spacing in pdf
Posted: 14 Jan 2026, 13:38
by MattB553
When the PDF is generated on my site there are large white spaces between sections and h2 titles in the content. Ive doubled checked to make sure there are no extra <p> or <br> tags. Ive also tried to use the plugin settings to adjust spacing. I cant find a way to remove all the extra white space between the content and titles. Has anyone had this issue before? Would you know what could be happening or how to resolve the issue?
Re: Phoca PDF: Extra spacing in pdf
Posted: 15 Jan 2026, 13:58
by christine
Hi,
Could we please see this live in order to possibly find a solution?
Kind regards
Christine
Re: Phoca PDF: Extra spacing in pdf
Posted: 15 Jan 2026, 17:08
by MattB553
Hi, thanks Christine
The print button is called "view as PDF". It is in the hero banner here: westlondoniot.ac.uk/courses/engineering/pearson-btec-level-4-higher-national-certificate-in-engineering-part-time-one-day-week-uxa
Re: Phoca PDF: Extra spacing in pdf
Posted: 15 Jan 2026, 18:20
by christine
Hi,
I saw it, but now it's error 404. Before that, was also looking at viewer.css
In the article itself, there were h1, h2, etc.
Unfortunately, the PDF only has: div.text.Layer
Sorry, at the moment, I don't know.
Kind regards
Christine
Re: Phoca PDF: Extra spacing in pdf
Posted: 02 Feb 2026, 12:58
by MattB553
Hi Christine,
Thank you for taking a look appreciate your help. The content on the site keeps changing so the previous course link was removed. This link should work:
https://www.westlondoniot.ac.uk/courses ... or-england
Please let me know if you find anything that could be causing the issue
Thank you, appreciate the support
Matthew
Re: Phoca PDF: Extra spacing in pdf
Posted: 02 Feb 2026, 17:00
by Jan
Hi, what is your settings form Site Cell Height Ratio?
Do you use some inline styles in the HTML output?
When you test it with some really simple text, do you get the same problems?
Jan
Re: Phoca PDF: Extra spacing in pdf
Posted: 02 Feb 2026, 17:49
by christine
Hi @Jan,
The last link doesn't work, but this one does:
www.westlondoniot.ac.uk/courses/enginee ... format=pdf
Christine
Re: Phoca PDF: Extra spacing in pdf
Posted: 11 Feb 2026, 18:16
by MattB553
Hi @jan and @christine
Thanks for looking into this: Currently the site cell height ratio is 1.5. There is a small amount of inline-stylilng but its only background colour and colour. In terms of CSS the content does have alot of padding between the sections of content. Note, I have not tested it yet with simple text...