Does anyone know how to remove the extra page that...
# advancedpdf
f
Does anyone know how to remove the extra page that the Advanced Template PDF Renders when there isn't any extra items. I have one on my invoice it just prints out an extra footer
d
what does the template look like? Is that screenshot (what looks like a table with "Order Notes:" and "THANK YOU FOR YOUR ORDER") the footer on the last page, or something else?
p
Check html/css on the order notes section yea - looks like it has massive padding or 100% h or w or something
☝️ 1
f
Basically, this portion
<table align="center" width="100%"><tr>
<td align="center"><span style="font-size: 10pt; font-weight:bold;">Thank you for your order.</span></td>
</tr></table>
Aswell as the header keeps on repeating itself.
p
There should be some css also (for table, tr or td), I guess failing that style could just be added to the table in order to try and counter - it just looks like that section is not styled correctly so it overflows into a new page
f
got it thanks PWN.