12
Views
2
Comments
[Simple Reports PDF] [Simple Reports] Different first page
Question
Forge component by Rafael Fantato
27
Published on 01 Oct 2020

Hello

I want to use Simple Reports PDF in my project to generate professional looking reports, which includes a custom cover page. I want to know if there is a way to display the footer and header EXCEPT on the first page.

Other example: Page 1 would have a header containing a logo, and page 2 header onwards would have the page number. 


Hello, Kazymir.


Have you tried to delete the footer and header of the first page, for example, in the widget tree?

mvp_badge
MVP
Rank: #85

You can use JS or CSS to hide or add info after generation:

This CSS may hide the header and footer from the cover:


.print_area .page:nth-child(1) .simple-header,

.print_area .page:nth-child(1) .simple-footer{

    display: none;

}