Skip to content

How to print transaction tables landscape?

If your business requires to show many columns in the transaction tables, you may need to rotate the corresponding pages of the invoice PDF in order to print landscape, and to use (most of) the available page width. To do so, you add a corresponding CSS rule to the template.

Classic templates

This answer applies to classic templates. On a standard template, the transaction table fields have no effect – page format and tables are defined in the Liquid file.

  1. Open the template to be edited.
  2. In the Layout & Design section, click next to the Custom CSS field and specify the following CSS code:

    /* sets landscape page format */
    @page land {
        size: landscape;
    }
    .c9 {
        page: land;
    }
    /* forces using the available page width */
    .transaction-records-table {
        width: 25cm;
    }
    
  3. Click Save.

Related information:

Configuring PDF Creation