Background image for invoice... Does someone have it?

We're upgrading our support forum. Replies are currently closed. Please view our Documentation and FAQ using the menu above.

Hey Guys!

I am trying to add a background image to my invoice template.

background-image: url(back.jpg);
background-repeat: no-repeat;
background-position: center center;
background-size: 100% 100%;

But it doesn’t work.
If i print a invoice, its just in the middle without fit to A4…

Can somebody help me please??

Thanks

Try “cover”
Anyway, this is from the documentation:
background-size: [ <length> | <percentage> | auto ]{1,2} | cover | contain (default = auto) As per CSS3. mPDF >= 5.7

Please, have a look there…it could be useful also for other tips…

The forum ‘General Support’ is closed to new topics and replies.

fipsBackground image for invoice… Does someone have it?