Author Topic: Remove blank space at top of PDF invoice?  (Read 416 times)

bryanearl

  • Beginner
  • *
  • Posts: 33
  • Web Design and SEO / SMO
    • Bryan Earl Web Design
Remove blank space at top of PDF invoice?
« on: May 23, 2018, 21:32:13 pm »
VirtueMart Version: 3.2.14
Joomla Version:  3.8.8

I have been customizing my PDF invoices, and they look great except one issue...

I cannot figure out how to remove the blank spaces that are below the header line and above the invoice information.

Anyone?

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3354
  • using Matomo instead of Google Analytics
Re: Remove blank space at top of PDF invoice?
« Reply #1 on: June 04, 2018, 22:22:23 pm »
In the 'Shop' Edit > 'Invoices/Emails' tab reduce the 'Contents Top Margin' (default is 45 mm) a little bit and check by clicking on the preview link (labled 'Here') if the value provided the required result. If you reduce it too much, it might hide the bottom line(s) of your header.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

bryanearl

  • Beginner
  • *
  • Posts: 33
  • Web Design and SEO / SMO
    • Bryan Earl Web Design
Re: Remove blank space at top of PDF invoice?
« Reply #2 on: June 04, 2018, 23:17:48 pm »
In the 'Shop' Edit > 'Invoices/Emails' tab reduce the 'Contents Top Margin' (default is 45 mm) a little bit and check by clicking on the preview link (labled 'Here') if the value provided the required result. If you reduce it too much, it might hide the bottom line(s) of your header.

Ahhhh, you rock, thank you. I assumed it was CSS driven and was unable to locate it.

aftertaf

  • Jr. Member
  • **
  • Posts: 206
    • sO couture
  • VirtueMart Version: 3.2.14
Re: Remove blank space at top of PDF invoice?
« Reply #3 on: June 04, 2018, 23:48:32 pm »
hi,
could you give me a tip on where to find the files to customise the pdf invoices?
i've been trying to find for a while now...
david
Webmaster for my wife (link in my profile ;)
Extensions / plugins : POSForWebshops, TemplatecreatorCK ,MaximenuCK, and PageBuilderCK, VM BatchEdit Pro, VM CustomFilters Pro, Awocoupon Pro, slogin, supersaas,  among other things...
Joomla! 3.8.6//VM 3.2.14//PHP7.0.18 & mariadb 10.1.22 on Debian
big up to notepad++!!!!

bryanearl

  • Beginner
  • *
  • Posts: 33
  • Web Design and SEO / SMO
    • Bryan Earl Web Design
Re: Remove blank space at top of PDF invoice?
« Reply #4 on: June 05, 2018, 00:21:54 am »
hi,
could you give me a tip on where to find the files to customise the pdf invoices?
i've been trying to find for a while now...
david

Override the following files and work with them to customize the PDF Invoice:
components/com_virtuemart/views/invoice/tmpl/invoice_items.php
components/com_virtuemart/views/invoice/tmpl/invoice_order.php


and override the following file and work with it to customize the email invoice:
components/com_virtuemart/views/invoice/tmpl/mail_html_pricelist.php

There are more files in that same folder you may want to customize, but those are the biggies.

aftertaf

  • Jr. Member
  • **
  • Posts: 206
    • sO couture
  • VirtueMart Version: 3.2.14
Re: Remove blank space at top of PDF invoice?
« Reply #5 on: June 06, 2018, 23:00:03 pm »
thank you so much : you saved me a lot of valuable time !!
Webmaster for my wife (link in my profile ;)
Extensions / plugins : POSForWebshops, TemplatecreatorCK ,MaximenuCK, and PageBuilderCK, VM BatchEdit Pro, VM CustomFilters Pro, Awocoupon Pro, slogin, supersaas,  among other things...
Joomla! 3.8.6//VM 3.2.14//PHP7.0.18 & mariadb 10.1.22 on Debian
big up to notepad++!!!!