Skip to content

Instantly share code, notes, and snippets.

@bradleysa
Created April 22, 2022 08:04
Show Gist options
  • Save bradleysa/bc283e9b5f0e3b5efbff588089202436 to your computer and use it in GitHub Desktop.
Save bradleysa/bc283e9b5f0e3b5efbff588089202436 to your computer and use it in GitHub Desktop.
Print Invoice: Increase Font Size
function example_serif_font_and_large_address() {
?>
<style>
#page {
font-size: 1.2em;
font-family: Georgia, serif;
}
.company-logo {
font-size: 2em;
}
.order-addresses address {
font-size: 1.25em;
line-height: 125%;
}
</style>
<?php
}
add_action( 'wcdn_head', 'example_serif_font_and_large_address', 20 );
/** https://wordpress.org/support/topic/font-size-increase/ **/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment