Using custom styles

If you want to change the styles of the WooCommerce PDF Invoices & Packing slips, you there’s two ways to do this. You can create a custom template and simply edit the styles.css file.

Alternatively, if the changes you want to make are only small, you can also add your styles by using a filter in your themes functions.php. For example, to change the text and background color of the table header:

add_action( 'wpo_wcpdf_custom_styles', 'wpo_wcpdf_custom_styles' );
function wpo_wcpdf_custom_styles () {
	.order-details thead th {
		color: yellow; /* this is the text color of the header row */
		background-color: green;
		border-color: green; /* make this the same color as the background color */

With the Premium Templates customizer

If you’re using the Premium Templates extension, you don’t have to create a custom template or use filters to apply custom styles, simply enter them in the Custom Styles box at the bottom of the Customizer tab of the settings:

PDF Invoice Customizer custom styles