PDF Creator
  • Introduction
    • 👋Welcome
    • Quickstart
    • Key use cases
    • Key features
  • Getting Started
    • Installing the plugin
    • Enabling ID attributes
  • Implementing Key Features
    • Generating PDFs of a single element
    • Generating a PDF of multiple elements
    • Downloading PDFs
    • Saving PDFs to your Bubble database
    • Adding footers
      • Page counters
      • Logos
    • Adding headers
    • Customising your PDF
    • Sending PDFs via email
  • Making PDF files private
  • Tips
    • How the plugin scales elements to the PDF page
    • Adding a loading screen
    • Generating PDFs of repeating groups that span multiple pages
  • Troubeshooting
    • 'Can't find element' message when using square brackets
    • Unwanted white spaces when using nested repeating groups
    • Unwanted gap at bottom of table elements
    • Traditional Chinese characters formatting
    • White space at the top of pages
Powered by GitBook
On this page
  1. Troubeshooting

White space at the top of pages

PreviousTraditional Chinese characters formatting

Last updated 9 months ago

If you set the 'Pagebreak' option to 'yes' in the 'Generate a PDF Creator' workflow action, you can sometimes end up with a white space at the top of one of your pages:

This is occurring because the plugin is trying to keep the elements next to each other, without breaking any elements across pages.

The solution to these white spaces is to break the target element down into smaller chunks. For example, rather than targeting the 'Group - Invoice' element highlighted below:

You could target the 'Header' section and the 'Materials' section as two separate ID Attributes:

This prevents any unwanted white space at the top of the page.

Video tutorial

The below video tutorial goes through an example of how to deal with white space at the top of a PDF (relevant section is from 21:11):