Hi @hashexpert,
The ‘Amount’ column is not a column that is created by default by our free plugin. Are you by any chance using our Premium Templates extension? If so, I would have to kindly ask you to redirect your question to [email protected]. We are not allowed to give premium support on this forum. Please also include the block you are using in the customizer to add this column.
If you have added the column with some custom code to your simple template (or created your own custom template) you will have to check the CSS classes of the <th>
and <td>
elements in the ‘Amount’ column.
You can check the CSS classes by switching the output of your document to HTML (WooCommerce > PDF Invoices > Status > Output to HTML). You can then inspect the elements (for instance in Chrome: right click the element and select ‘Inspect’).
If you have found the CSS classes you can change the width of the column with the following code snippet:
add_action( 'wpo_wcpdf_custom_styles', 'wpo_wcpdf_custom_styles' );
function wpo_wcpdf_custom_styles () {
?>
.order-details th.your-class-here,
.order-details td.your-class-here, {
width:20%;
}
<?php
}
This code snippet should be placed in the functions.php of your child theme. If you haven’t worked with code snippets or functions.php before please read this: How to use filters