Keep up to date with Gravity PDF

  • This field is for validation purposes and should be left unchanged.

How do I adjust the size of images in the Header / Footer of Core and Universal templates?

Gravity PDF automatically restricts the height of images in headers/footers to prevent them taking up a large portion of a page. You can override this behaviour by including the style attribute in your img HTML markup.

How To:

  1. Go to PDF Settings, choose the PDF template you want to edit, and click the Template Tab
    Go to PDF Settings

  2. Scroll down to the header settings, and click the rich Text Editor
    Click Rich Text Editor

  3. Add style="max-height: 400px" to the code
    Add style code

It should look like this in your editor:

<img class="alignnone size-full wp-image-12 aligncenter" src="http://testsite.local/wp-content/uploads/2019/10/Group82InternshipProgramHeaderBanner.png" alt="" width="1030" height="250" style="max-height: 400px" />

You can adjust 400px to the size you need.

Before:
Before header

After:
After header

Signup for the latest Gravity PDF news, tips and updates

  • This field is for validation purposes and should be left unchanged.
Scroll To Top

Choose your currency:

Close
Converted prices are for reference only - all orders are charged in $ Australian Dollars ($) AUD.
  • AUDAustralian Dollars ($)
  • USDUS Dollars ($)
  • CADCanadian Dollars ($)
  • EUREuros (€)
  • GBPPound Sterling (£)
  • NZDNew Zealand Dollar ($)
  • JPYJapanese Yen (¥)