PDF custom design: hide footer in all but last page

Hello, I’m using custom PDF design for quote and invoice.

I’m using footer tab, but I want the footer to appear only in last page. I want the fixed to bottom style, but only in last page.

I tryed setting content in body tab instead of footer, and using a different id for #footer but it still appears in all pages. Using #footer:last-child didn’t work also.

How can I achive this? Maybe with some @page #footer selector?

Thank you.


@david can you please advise?


Sorry i’m not sure on the CSS that would enable this.