What selectors need to be modified for the PDF headers & footers?

All good, thanks for the answer. I had issues with my guides not showing up so now that it is solved, I can preview the HTML, inspect elements using Chrome and then apply CSS to my generated PDFs.

Couple of questions:

- What selectors need to be modified for the PDF headers & footers?

- I cannot use the @import rule to use Google fonts. Is that normal? Am I doing something wrong?

Thanks,

Fred

Answer this question I have this problem too

Is this a good question?

Score 3
Add a comment

1 Answer

Most Helpful Answer

Hey Fred,

Header CSS classes:

.header       // wrapper around the contents of the header
.guide-title  // title of the guide in the left of the header
.revisionid   // revisionid on the right of the page.

Footer CSS classes:

.footer       // wrapper around the contents of the footer
.copyright    // copyright text
.site-title   // name of the site.
.page-num     // wrapper around the page number
.page         // span element around the current page number
.topage       // span element aroudn the total number of pages number

As for the @import rule, I'm not sure why that wouldn't be working. Post a reply with what you're trying and I'll try to see if I can help.

Was this answer helpful?

Score 2
Add a comment

Add your answer

Frederic Nevers will be eternally grateful.