Support

Home Forums Event Espresso Premium Custom Ticket – Add Background Image

Custom Ticket – Add Background Image

Posted: July 30, 2018 at 10:32 pm


citekpjuc

July 30, 2018 at 10:32 pm

How to add a bg image on custom ticket (main box only). Please refer the ticket below:
https://www.kpjuc.edu.my/?ee=msg_url_trigger&snd_msgr=html&gen_msgr=html&message_type=ticketing&context=registrant&token=1-285d2ddd9efabee59daef610c29d1bfb&GRP_ID=15&id=0


Tony

  • Support Staff

July 31, 2018 at 6:03 am

Hi there,

You’ll need to edit the ticket template and add some inline styles to the template.

Go to Event Espresso -> Messages -> Default message templates.

Find the ticket template there.

If the same image is being used for all tickets you can edit the default template, if you want different images based on the event the ticket is for, you’ll need a custom ticket template for each and then you select that ticket template in the event itself.

In the editor switch to text mode and find the div with class ‘ticket’.

Add a style attribute to that element and set a background image to use:

https://www.w3schools.com/cssref/pr_background-image.asp

Quick example just setting the background to red – https://monosnap.com/file/s4u51AXzbXYf0iNFcDSPKrlSODzerS

is that what you are looking for?

The support post ‘Custom Ticket – Add Background Image’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso