Forum How do I...?

How do I change the footer of the last page of a named page?

At the last page of @page 'content-page' I want to show a different footer '.footer2'

@page content-page {
@bottom {
content: flow(footer);

footer {
-prince-flow: static(footer, start);

.footer2 {
/*css to show at the last page of @page content-page */
Here's an example of how to change a header (or footer) on the last page:

The mechanism is quite generic, you can change the running header/footer on any page using this technique. To make it appear on the last page, just insert the running element after the last element.

Edited by howcome

Thanks, howcome. I will try this solution and post here the result.