Home › Forums › Event Espresso Premium › Use pdf background in invoices
Posted: May 27, 2020 at 3:37 am
EE4 Everything License
May 27, 2020 at 3:37 am
can you point me in the direction on how we can add a pdf background to the documents (invoices). This would really make things easier and nicer.
May 29, 2020 at 6:20 am
We don’t have an option to do it, but you can manually add inline styles to the Invoice within the admin to do it.
Go to Event Espresso -> Messages -> Default Message Template -> Invoice -> Edit Purchaser.
In the main content section switch to Text mode.
Find the <div id=invoice> element and add some inline styles to apply a background image to it, for example:
<div id="invoice" style="background-image: url(https://example.com/wp-content/uploads/2016/01/vegetables.jpg); background-size: 100%;">
Obviously you’ll need to change the URL of the image for your own but I’m not sure how this will make it easier as you’ll then need to go through and override any additional styles used which may block out your background image.
You must be logged in to reply to this support post. Sign In or Register for an Account
Updated by Tony 1 month, 1 week ago ago