Print stylesheets
How Project Broadsheet's print styles work, what gets hidden when a reader prints an article or edition, and how to customize the printed output.
Project Broadsheet ships with print stylesheets for articles and editions. When a reader chooses File → Print or Ctrl+P, the browser switches to the print stylesheet automatically, with no reader action required.
What print styles do
The print stylesheet hides chrome (navigation, sidebars, buttons) and formats the content for paper:
Hidden in print:
- Site header and footer
- Navigation menus
- Reader toolbar (highlights, TTS, font picker)
- Back-to-top button
- Newsletter signup forms
- Social share buttons
- Related articles sidebar
- Cookie/banner notices
Preserved in print:
- Article title and subtitle
- Author byline and publish date
- Full article body with all headings and paragraphs
- Inline images (scaled to fit the page)
- Blockquotes and pull quotes
- Code blocks (with monospace font)
- The publication name as a print header
Where the print styles live
Print rules are in src/assets/css/print.css. They use a standard @media print block:
@media print {
.site-header,
.site-footer,
.reader-toolbar,
.social-share,
.back-to-top { display: none !important; }
body {
font-family: Georgia, "Times New Roman", serif;
font-size: 12pt;
color: #000;
background: #fff;
}
a { color: inherit; text-decoration: none; }
a[href]::after { content: " (" attr(href) ")"; font-size: 10pt; color: #555; }
}
print.css is concatenated into global.css at build time along with all other partials; it does not load as a separate stylesheet.
Hiding an element from print
Add the utility class no-print to any element you want to suppress:
<div class="no-print">This will not appear when printed.</div>
The no-print class is defined in src/assets/css/utilities.css:
@media print { .no-print { display: none !important; } }
Forcing an element to print only
To show an element only in print (e.g., a print-only footer with the URL):
.print-only { display: none; }
@media print { .print-only { display: block; } }
Editions and print
Editions have a dedicated print layout that formats multi-article issues as a single print document. When a reader prints an edition page, each included article flows sequentially with page breaks between them. The edition cover image appears at the top of the first page.
To adjust page breaks between articles in an edition:
@media print {
.edition-article { page-break-before: always; }
}
What to do next
- Editions for how print-friendly edition pages are structured.
- Customize design tokens for the type and color variables used in print.
- Custom layouts to create a layout with a custom print view.
Browse Support for community channels and paid support options, or book a call if you'd like me to set it up for you.