Support » Plugin: TablePress » modify heigh alltable rows

  • Resolved marmitako

    (@marmitako)


    Hi Tobias, thanks for your job and support.
    I would like to change the width of all the rows of a table to a certain height.
    The table in the link provided consists of 309 rows, and changing them 1 to 1 is very heavy.
    I want to get a result similar to the effect achieved in the example tables of your baseball club, but I can not clarify with the code.
    Can you help me?
    Can I see CSS code of yours basaball club tables?
    Thanks

    Hector

    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.

    Your post is a bit confusing. Do you want to change the width or the height?

    The CSS for the baseball site is public at https://www.poorpigs.de/css/stylec.css but I’m afraid that this won’t help.
    You’ll probably just want to reduce the padding (inner white space) in the table cells. For that, please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress-id-2 tbody td {
      padding-top: 4px;
      padding-bottom: 4px;
    }

    Regards,
    Tobias

    Hi Tobias,
    Thanks so mutch for your help.
    This code you get me works perfectly. I’m sorry if my previous message was confusing but you got it right.
    Best regards

    Héctor

    Plugin Author TobiasBg

    (@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 here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘modify heigh alltable rows’ is closed to new replies.