Created
February 4, 2020 20:15
-
-
Save dancameron/383f8eb5a9f7bd33b2fb4c244dc81d04 to your computer and use it in GitHub Desktop.
Square CSS for Sprout Invoices
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
<?php // don't include this line in your functions.php, since it already starts with it. | |
function _custom_si_pdf_service_scripts() { | |
ob_start(); ?> | |
<style type="text/css"> | |
.sq-input { | |
height: 2em; | |
padding: .1em; | |
} | |
.sq-input#sa_credit_cc_number { | |
padding: .4em | |
} | |
</style> | |
<?php | |
return ob_get_clean(); | |
} | |
add_filter( 'si_head', '_custom_si_pdf_service_scripts', 100 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This snippet is a customization for Sprout Invoices. A customizable solution that provides a way for you to get paid via your WordPress site. For more information please don't hesitate to reach out.