Skip to content

Instantly share code, notes, and snippets.

@dancameron
Created February 4, 2020 20:15
Show Gist options
  • Save dancameron/383f8eb5a9f7bd33b2fb4c244dc81d04 to your computer and use it in GitHub Desktop.
Save dancameron/383f8eb5a9f7bd33b2fb4c244dc81d04 to your computer and use it in GitHub Desktop.
Square CSS for Sprout Invoices
<?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 );
@dancameron
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment