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

    (@tobiasbg)

    Hi!

    Thanks for your post and sorry for the trouble!

    This is likely caused by your theme adding a padding to these otherwise empty cells (which are needed to get the column width right). Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!

    Regards,
    Tobias

    Thread Starter agt3000

    (@agt3000)

    Hi Tobias thanks for your quick response.

    Here you can see the issue: link

    This issue happens only when i have the “horizontal scrolling” option enabled

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for the link! Just as I thought, the cause for this is some CSS code that I can see in the page:

    td, th {
      padding: 14px !important;
    }

    So, to fix this issue, please add this to the “Custom CSS” text area on the “Plugin Options” screen of TablePress:

    .dataTables_scrollBody .tablepress th {
      padding-top: 0px !important;
      padding-bottom: 0px !important;
    }

    Regards,
    Tobias

    Thread Starter agt3000

    (@agt3000)

    Hi Tobias,

    With your custom css now looks ok!

    Thanks for your help!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    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!

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

The topic ‘Bottom padding issue – when the horizontal scrolling is enabled’ is closed to new replies.