Created
April 22, 2022 08:04
-
-
Save bradleysa/bc283e9b5f0e3b5efbff588089202436 to your computer and use it in GitHub Desktop.
Print Invoice: Increase Font Size
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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