• Resolved dalai2017

    (@dalai2017)


    Hi Tobias,

    None of the code I’m trying to set the height of my table seems to be responsive. Is there proper CSS to set the height of a table or the rows within the table? I just want make sure I’m applying CSS correctly. Thanks!

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.

    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 dalai2017

    (@dalai2017)

    The first table under “Client Goals.”
    https://dalaigroup.com/case-study-food-industry-client/

    I’m not sure if the table cells have a default minimum height requirement, based on the font-size used? I tried 50px, and it won’t display anything smaller than the 56px.

    I’m having the same problem with the client goal table on this page, too:
    https://dalaigroup.com/case-study-entertainment-industry-client/

    I have done some cell merging, if that contributes. I’m just trying to condense things a little bit and have all of the text a little closer together.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for the link! Please try adding this “Custom CSS”:

    .tablepress td,
    .tablepress th {
      line-height: normal;
    }

    Regards,
    Tobias

    Thread Starter dalai2017

    (@dalai2017)

    Hi again,

    Your CSS recommendation worked for the first table, which uses one line of text in each table cell.

    However, it was unresponsive for the table on this page:
    https://dalaigroup.com/case-study-entertainment-industry-client/

    I’m not sure if it’s a factor, but this table uses 2 lines of text in some table cells, while the last column uses one line of text per table cell. There has also been some merging. Any way I can get all of rows to display the text a little closer together?

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    the “Client Goals” table?
    You could maybe experiment with reducing the padding-top and padding-bottom here.

    Regards,
    Tobias

    Thread Starter dalai2017

    (@dalai2017)

    I see how that may be doubled between the rows of text. Thank you for the suggestion!

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no problem, you are welcome!

    Best wishes,
    Tobias

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Row Height | Table Height’ is closed to new replies.