• Resolved dareko

    (@dareko)


    Hi Tobias,

    I have been using your plugin since one of the very first versions and everything always works as described.
    I’ve only ever had an issue with column width: some columns in my tables only have one or two characters , but there is the space for 10 characters, and I can’t reduce their width.
    I set width and max-width to single pxs. I also tried setting padding to minus values – nothing helps.

    Please advise where I should look for the setting to reduce the margins on the left and right of the text in a cell? Is this set somewhere in the theme?

    Thank you in advance for any advise

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

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!

    What you are seeing there is indeed caused by your theme: It’s adding a rather big padding (inner white space) in table cells.

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

    #content .tablepress th,
    #content .tablepress td {
        padding: 6px 3px;
    }

    Regards,
    Tobias

    Thread Starter dareko

    (@dareko)

    Great, it works perfect.

    Thank you very much for your first class support.

    All the best for you.
    Darek

    PS.
    If it was possible to scroll the tables horizontally (when you can’t see all the columns on a mobile display), it would be more than great. But I understand that this is impossible with merged cells.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Darek,

    good to hear that this helped 🙂

    Regarding the horizontal scrolling: Indeed, the native horizontal scrolling (that is also part of the free version) does not work in tables that have merged cells. However, the TablePress premium versions come with the Responsive Tables feature module which brings a different implementation of horizontal scrolling — and that one does work in tables with merged cells! So, you might want to look into upgrading to TablePress Pro or TablePress Max! 🙂

    Best wishes,
    Tobias

    Thread Starter dareko

    (@dareko)

    Thank you Tobias.
    Best wishes,

    Darek

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂

    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 ‘Column width’ is closed to new replies.