• Resolved hugokornelis

    (@hugokornelis)


    Hello!

    Today I did my monthly “upgrade all plugins” run, which inlcuded the upgrade to TablePress 3.1. But after the upgrade, there is a display issue on my pages. Every table on every page (that I checked) now displays the header row twice. The first one can still be clicked to sort the contents. The second row is also displayed in header style, but cannot be sorted. It is still treeated as header, though – it remains on top regardless of how I sort, and it remains visible regardless of how I filter in the Search box.

    For an example, check the linked page. (Scroll down to see two TablePress tables)

    Thanks in advance for your help!

    The page I need help with: [log in to see the link]

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

    (@tobiasbg)

    Hi!

    Thanks for your post and sorry for the trouble!

    I don’t know why this is, but something on the site seems to be preventing the loading of the TablePress CSS files. My feeling is that this is caused by your theme “Impreza”, which instead seems to have embedded some (unfortunately old and outdated) CSS code from TablePress into its “style.css” file.

    You could maybe check the Impreza theme settings for anything related to TablePress, or you could otherwise check e.g. the theme’s “functions.php” file for code that turns off the loading the TablePress CSS files.

    Best wishes,
    Tobias

    Hello,

    I have the same issue on my website. I noticed its when I “Enable horizontal scrolling, to make viewing tables with many columns easier.” that it appears .

    Here is an exemple : https://immocompare.org/home/logiciel-comptabilite-immobilier/je-declare-mon-meuble-avis/

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi @thib0505,

    in your case, the reason for this is different: Please clear the complete CSS minification/optimization cache of the WP Rocket plugin that you are using on the site.

    Best wishes,
    Tobias

    Thanks !!!

    Your are so fast ahah

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi @thib0505,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress in the plugin directory. Thanks!

    Thread Starter hugokornelis

    (@hugokornelis)

    Thanks for your quick reply, Tobias!

    I contacted UpSolution (the creators of the Impreza theme). This is their reply:

    Unfortunately, this is a bug. We’ll fix it and will let you know once the fix is published.

    As a quick workaround, you can turn off the checkbox inside the table settings: “Enable horizontal scrolling, to make viewing tables with many columns easier.” (the last checkbox in the list). It seems to be the one causing the conflict.

    Since this is a per-table setting and my site uses over 120 tables, I have decided to just accept the weird look for now and hope that UpSolution releases the fix soon.

    Thanks for making this great tool!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi!

    Great to hear that they could identify a bug in their code! Let’s hope that they fix this quickly, which should be as simple as removing one or maybe two lines of code from the theme, so that the TablePress CSS files are loaded again. (This is actually what you could try finding yourself, in the meantime, by searching for “tablepress” in the Impreza theme PHP files.)

    As for that suggestion regarding the “Enable horizontal scrolling” checkbox: Please don’t do that! This is not a fix but only putting a cover over the symptoms. It will indeed remove the duplicated header, but the table layout styling will still be completely wrong.

    Best wishes,
    Tobias

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

The topic ‘Table header row displayed twice’ is closed to new replies.