Skip to content

How to reduce the font size when printing #1992

Answered by tlylt
damithc asked this question in Q&A
Discussion options

You must be logged in to vote

For normal body text, doing something like this should work (adjust 0.9rem to any other desired value) to apply the change when print:

@media print {
    body {
        font-size: 0.9rem;  /* Reduce font size when printing */
    }
}

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by damithc
Comment options

damithc
Aug 4, 2022
Maintainer Author

You must be logged in to vote
1 reply
@tlylt
Comment options

tlylt Aug 5, 2022
Maintainer

Comment options

damithc
Aug 6, 2022
Maintainer Author

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
Category
Q&A
Labels
None yet
2 participants