Skip to content

Essay layout to PDF #924

Answered by cbutcosk
drbobbyduke asked this question in General
Apr 23, 2024 · 3 comments · 2 replies
Discussion options

You must be logged in to vote

I've been cleaning up some of the PDF internals for the last lil bit and can confirm @1000camels 's styling approach above and that it's the most future-proofed (though indeed twitchy as it sets all margins globally for pages).

If you're looking to fix just the first page of essays (which in the stylesheet are .quire-page) and are comfortable getting knee-deep in SCSS, the header margin for hero images is set here: https://github.com/thegetty/quire-starter-default/blob/eaa2a9c07c43c874ab18c0641ad6253f57641278/content/_assets/styles/print.scss#L390 .

Other details you may or may not need as you hack away @1000camels and @drbobbyduke , the PDF generator picks up every <section> element from…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@1000camels
Comment options

@cbutcosk
Comment options

Answer selected by Erin-Cecele
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants