I am generating a PDF from html using Puppeteer, and I would like the main content of the PDF to display over the top of the image added in the headerTemplate.
Currently the content goes behind the image as shown here:
Current PDF content
Are there any settings/styles which can be applied to force the header to be at the back?
I have tried the omitBackground property, and also setting the z-index on the header & main content.
Gary Land is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1