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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    This is tricky, because your table is already wider than the screen (which is why you need Horizontal Scrolling). Unfortunately, browsers are very sensitive with respect to changing column widths in this case.

    You could maybe try to raise the priority of your commands, by appending the !important flag, like

    .tablepress-id-1 .column-2 {
      width: 300px !important;
    }

    Additionally, it might be an option to change the view mode with

    .tablepress-id-1 {
      table-layout: fixed;
    }

    Regards,
    Tobias

    Thread Starter cosmophonic

    (@cosmophonic)

    Hi

    thanks for your help, it works, but not very good.

    I used this Code: but the text in the first row is not in the middle.

    .tablepress-id-1 tbody td,
    .tablepress-id-1 tbody th {
    text-align: center;
    }

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    this is likely caused by the Horizontal Scrolling, which isn’t always working that nicely.
    Please try deactivating the “Horizontal Scrolling” checkbox on the table’s “Edit” screen and use the scroll mode of the Responsive Tables Extension from https://tablepress.org/extensions/responsive-tables/ instead.

    Regards,
    Tobias

    Hello Tobias,

    I am getting tyred, trying now for two days to fix my column with issue, I would like the column’s have the same with. This means for the cel left and right of every month it should have the same with as the column with the month.

    I tried all suggestion in you answers in the forum but somehow my knowledge is inadequate, I hope you can help me,

    Thank you in advance,

    André

    ps the table url is http://www.vstijn.nl/moestuin/?page_id=359

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    I think I know what you mean, but with the available space on the screen, this is simply not really possible, as the cell content requires more width sometimes.

    Regards,
    Tobias

    hi there

    thanks for the great plugin, i want to make the table press so that the last column of the price button can have more width and can show the check price button, may i know how to do so?

    as i change in master css, it just changes the specific column number, e.g. 5

    but in some table theres more column than 5, so the check price button may varies

    how to do so pls?

    http://100review.com/10-best-wireless-bluetooth-earphone-of-2017-with-supreme-quality/

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    I think that you will just have to prohibit line breaks in the button, for example with

    .tablepress .su-button-center {
      white-space: nowrap;
    }

    Regards,
    Tobias

    Hello Tobias, I have a very strange problem.
    I am using Tablepress together with RPB Chessboard. The last column in the table is reserved for the chessboard.
    The problem I have is depicted by the following picture:
    Tablepress problem 1
    You see how the last column is not aligned with the board.
    Now, I have tried adjusting the size of the board, and also the width of the column, but nothing happened.
    It is strange, because in another table I also use, the situation is following:
    All right

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi mistreaver,

    thanks for your question, and sorry for the trouble.

    Actually, both tables are not fitting. To work around that, please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress {
      table-layout: auto;
    }

    Regards,
    Tobias

    Hi Tobias,

    Thank you very much on qick and prompt response.
    I have tried adding your suggestion, but unfortunately nothing has changed.

    With best regards
    Vjekoslav Nemec

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    Are you sure that you added this to the “Custom CSS” textfield in TablePress?
    Also, it seems that you are using a plugin to cache minified and concatenated CSS code. Please flush the cache of that plugin.

    Regards,
    Tobias

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

The topic ‘tablepress column width didtn work’ is closed to new replies.