Skip to main content


My little printer-friendly CSS
Here is my little "Printer friendly CSS" that I add to each and every page using Simple Custom CSS and JS

/* override styles when printing */
@media print {
@page {
margin: 2cm;
@top-center {
font-family: sans-serif;
font-weight: bold;
font-size: 2em;
content: counter(page);
}
}
/* target the first page only */
@page :first { margin-top: 6
https://monodes.com/predaelli/2023/08/30/my-little-printer-friendly-css/
#Tricks #Wordpress
in reply to mindCreatesMeaning

@MindCreatesMeaning
I maintain an Iso9001 quality system with WordPress. It's a CMS, isn't it? 😁 but since paper versions of procedures and instructions are often useful (dirty places, no net available, you know) I often need to print some of them

This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website.