Support » Plugin: Send PDF for Contact Form 7 » How can i remove the white space on top of pdf?

Viewing 4 replies - 1 through 4 (of 4 total)
  • go to classes/send-pdf.php file and look for “‘margin_header’ => 10, ‘margin_top’ => 40,” (this is around line 600 in my editor) there were 3 lines in mine – I didn’t debug which is which, I just changed all the #’s to 0, and it moves everything to the top. if you need a header, just add one in your html or add an invisible image to the top of your pdf with the appropriate spacing. Hope this helps!

    Sorry – the bottom is really up to you. Make your text bigger in the pdf or insert images or something.

    It would seem that the settings for “Margin Header” and “Margin Top Header” don’t do anything? I actually need a header for the graphic image and changing those values (in the gui) seems to adjust nothing. I’d rather not edit the php directly as it’ll be overwritten on an update.



    Thank you guys for the hint

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.