Support » Plugin: TablePress » Stop stacking the tables

  • Resolved petrwoff

    (@petrwoff)


    I wish you successful Spring, Mr. Tobias,

    thank you for your work. TablePress is big piece of technological art, I´ve been using it many years, now including Responsive modes (after little donation, which should be periodical, according to your long-term great job).

    However on one websites I have problems with the Responsive modes, due to the theme CSS: All the tables (not only TablePress tables, I mean really all the tables) are tranformed into “stack” mode here, although sometimes the “scroll” or “flip” mode would be much more usefull. Example: https://www.cenyenergie.cz/dodavatele-elektriny-2020/

    If the table is written “manually” in HTML, I´m using <table class=”scroll”></table> – and than the table is in “scroll” mode (but technically and visually it´s not 100% and teherefore I need TablePress). Example: https://www.cenyenergie.cz/poplatek-platba-za-jistic-rezervovany-prikon/

    Can you, please, advise me some piece of code which I could use in “Custom CSS” textarea of the TablePress “Plugin Options” so that the default theme CSS “stack” mode would be “rewritten” and I could use for example sroll mode via [table id=123 responsive=scroll responsive_breakpoint=”all” /] ?

    I´ve tried for example

    .tablepress {
    overflow-x: scroll;
    }

    – but unsuccessfully.

    Maybe there is not any solution and I need renew the whole theme CSS – in any case thank you again for your work and time and wish you all the best (in work and personal life too).

    Petr

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    The stacking that you are seeing (on all tables on the site) is not added by TablePress, but by your theme. You would need to remove the relevant CSS code from the theme’s “style.css” file (/wp-content/themes/cenyenergie/assets/css/style.css). There’s some CSS starting in line 1418 and in line 1450.

    Regards,
    Tobias

    OK, thank you.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    sure, no problem!

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.