My form, when submitted, provides a PDF download of the form data, excellent!!
The one thing I have been trying to do, thanks to a user request😟 is to change the whole background colour of the pdf.
I have looked through the tcpdf docs on their site, but have not seen anything that shows an example of such a thing. Setting a fill colour for cells, yes but not the whole page.
I have tried adding a body class such as
Not sure if this is even possible, or maybe something has to be added to form_actions/tcpdf/cfaction_tcpdf.php
If anyone has done the same, it would be great to hear from you
The one thing I have been trying to do, thanks to a user request😟 is to change the whole background colour of the pdf.
I have looked through the tcpdf docs on their site, but have not seen anything that shows an example of such a thing. Setting a fill colour for cells, yes but not the whole page.
I have tried adding a body class such as
body {background:#FFEDD4;}
and body {background-color:#FFEDD4;}
but it is not being changed.
Not sure if this is even possible, or maybe something has to be added to form_actions/tcpdf/cfaction_tcpdf.php
If anyone has done the same, it would be great to hear from you