Created
August 9, 2017 08:41
-
-
Save kilbot/7fce76d1d2fa0deddc3f64bd82f56e05 to your computer and use it in GitHub Desktop.
Using custom fonts in WooCommerce POS
This file contains hidden or 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
<?php | |
// this goes in your theme functions.php file | |
function my_custom_pos_css() { | |
echo '<style>body, h1, h2, h3, h4, h5 { font-family: IRANSans !important }</style>'; | |
} | |
add_action( 'woocommerce_pos_head', 'my_custom_pos_css' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment