Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Everything you put into <thead> will be repeated on each page until the table is fully printed. If you don’t want that you either need to move the <tr> from the header to <tbody> or move everything from <tfoot> into a separate table (that way you still get the headers printed above each page but not if it’s just the totals that are being split by the page.

    Thread Starter abdulsamaddabu

    (@abdulsamaddabu)

    I tired that but it misalign the columns of bottom table with respect to columns of above table
    here is demo
    https://drive.google.com/file/d/19Gd8e7jyR5-1T8G02DKadabh7PjGFEwT/view?usp=sharing

    Plugin Contributor Ewout

    (@pomegranate)

    It looks like you simply need to give both tables the exact same width (100%?) and make sure that the column widths are also the same. You still have the other option (the first one from my previous post) of keeping it in the <tfoot> and simply moving your <tr> from <thead> to <tbody>.

    Thread Starter abdulsamaddabu

    (@abdulsamaddabu)

    thanks you
    I managed to set both tables width exactly same
    very much thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Woo commerce invoice Total section get cutoff by header at page-break’ is closed to new replies.