BBC: print-friendly stylesheet
When printing, hides navigation, ads and buttons, leaving just the article text on paper.
Code to copy
/* Print-friendly stylesheet that drops navigation and ads */
@media print {
header, footer, nav, aside,
[data-component="ad"],
[data-component="share-tools"],
[data-component="links-block"] {
display: none !important;
}
article { width: 100% !important; color: #000 !important; }
body { background: #fff !important; }
}
How to use this example
- Copy the code with the button above.
- Install JustZix (2 minutes) and open the extension on the target page.
- Add a new rule matching that page.
- Paste the code into the rule's CSS panel and save — the effect appears instantly.
Rate this example
No ratings yet — be the first.