• First let me thank you for TablePress. What a time saver.

    I have a small problem with the Fixed Table header plugin and Printing.

    I am using an offset to allow for a fixed scrolling menu on the site I am building but when I print the header is offset wrong when printing.

    It only happens on the fist page of a printout. Otherwise the fixed header works great and the header is visible on each printed page (in Firfox and IE, Chrome wont do this but I assume it is Chrome).

    I have tested this in Firefox and IE 11 and Chrome. It does not display this bug on IE11 but does on Firefox and Chrome.

    PM or email me and I can send a link to an example page if you need it.

    https://wordpress.org/plugins/tablepress/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Michael,

    thanks for your question, and sorry for the trouble.

    Unfortunately, I don’t really have an idea why this happens, and I don’t really think that I’m the best person to ask about this. The FixedHeader Extension is an add-on for the DataTables JS library, and as I’m not the developer of either of these, I’m not too familiar with the CSS code that is likely involved here and that needs to be adjusted.
    I can therefore only suggest that you ask about this in the DataTables forums at http://www.datatables.net/ as the people there have much more knowledge about these scripts.

    Regards,
    Tobias

    Thread Starter Michael Aronoff

    (@masterk)

    Thanks I was able to find the custom css to fix this.

    In case anyone else needs this add the following to your themes style.css:

    @media print {
    .dataTables_wrapper.FixedHeader_Cloned.fixedHeader.FixedHeader_Header { display: none; }
    }

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    very nice! That looks good! Thanks for sharing the code!

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Problem with Printing and fixed header’ is closed to new replies.