Invoice styling | WordPress.org

[ad_1]

Hi @timmx,

Try activating this code snippet in your site to achieve waht you want:

/**
 * PDF Invoices & Packing Slips for WooCommerce:
 * Adds custom styles to the PDF documents
 */
add_action( 'wpo_wcpdf_custom_styles', function( $document_type, $document ) {
		?>
		/* Remove SKU and Weight */
		.sku, .weight {
			display: none;
		}
		/* Reverse the table header colors */
		.order-details thead th {
			color: black;
			background-color: white;
			border-color: #ccc;
		}
		<?php
}, 10, 2 );

If you haven’t worked with code snippets (actions/filters) or functions.php before, read this guide: How to use filters

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer