Start a project

How to center columns in WooCommerce PDF Invoice?

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;
}

Questions & answers (2)

  1. Raufun ArefinMay 28, 2021

    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.

  2. DanielMay 28, 2021

    Please submit a ticket on our website