The “Sub Total” shown on Estimates and Invoices is used when VAT is applied to the net figure, but if not VAT registered this looks rather strange on the documents as always the same as the “Total” box.
Looking at the structure with “inspect element” in my browser, I reckon this should work:
.footer-sub-total {
display: none;
}
The language table isn’t a list of the classes that apply to the existing parts of the invoice, it’s a list of the special classes you would override if you want to change the wording of any of the labels (e.g. to rename “Sub Total” to “Total ex VAT” or similar).
Thanks. As a general rule, if you want to know what to customise in the CSS then your browser’s developer tools are your friend - typically you right click on the thing you want to customise and “inspect element”. Here I inspected the cell with the sub total amount and it gave me:
and you can see there that the sub total row as a whole has class="footer-sub-total". The final part of the puzzle is knowing that in CSS you select by class by adding a leading dot
.footer-sub-total {
/* customisations go here */
}
You can also use more complex selectors, for example if I wanted to highlight the invoice balance cell with a red border. You can’t distinguish this one by a single class selector, but let’s look at the element tree:
So we want the invoice-footer-right-td cell (one element can have several classes at once) that is inside the footer-balance row. In CSS you do “X inside Y” by the selector that finds Y first, then a space, then the selector that finds X - think of it as working your way down from the top of the tree, first look for Y, then inside the Y look for X: