If you want to center some columns inside the WooCommerce PDF invoice you will need to enter some custom CSS. The CSS has to be added into the advanced settings section of our plugin.

Here is an example for centering price and quantity columns:

table th.th-showPrice, table td.td-showPrice, table td.td-showQty, table th.th-showQty {
	text-align: center;
}

2 thoughts on “How to center columns in WooCommerce PDF Invoice?

  1. Raufun Arefin says:

    I am trying to right align footer text, but it is showing on the left aligned. Even after trying to add a class and defining that class in advance settings.

    • Daniel

      The Real Person!

      Author Daniel acts as a real person and verified as not a bot.
      Passed all tests against spam bots. Anti-Spam by CleanTalk.
      says:

      Please submit a ticket on our website

Leave a Reply

Your email address will not be published. Required fields are marked *