Viewing 15 replies - 1 through 15 (of 23 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    It seems that there’s extra white space in your cells. Those define the height.
    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 volantis

    (@volantis)

    Its not one cell, these are 2. https://prntscr.com/bjns8z

    I want to edit the cell height, so 2 (or more) tables are as high as shown in my picture.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    I understand, but in order to find the exact technical way to do this (CSS code), I need to take a look at the page with the tables.
    Only by that can I find out why the tables are higher than expected.

    Regards,
    Tobias

    Thread Starter volantis

    (@volantis)

    Thank you!

    Okay, take a look here

    The problem is also showed on an other site of mine. Maybe with one fix i can edit there too ??

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for the link!

    First, you could remove the borders, via https://tablepress.org/faq/remove-borders-from-a-table/
    Then, I would actually suggest to put the positions/job titles into the same cell as the same, as they will already be closer together. Otherwise, you’d have to reduce the padding (inner white space in the cells) with some CSS code, like

    .tablepress-id-1 .row-3 td {
      padding-bottom: 1px;
    }
    .tablepress-id-1 .row-4 td {
      padding-top: 1px;
    }

    (This needs to go into the “Custom CSS” textarea on the “Plugin Options” screen of TablePress.)

    Regards,
    Tobias

    Thread Starter volantis

    (@volantis)

    is it possible to give ALL cells that padding?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    sure:

    .tablepress-id-1 th,
    .tablepress-id-1 td {
      padding: 1px;
    }

    Regards,
    Tobias

    Thread Starter volantis

    (@volantis)

    Ok, it didnt work on the other website. Theme Zerif lite

    .tablepress,
    .tablepress tr,
    .tablepress tbody td,
    .tablepress thead th,
    .tablepress tfoot th {
    border: none;
    padding: 1px;
    }

    .tablepress-id-1 th,
    .tablepress-id-1 td {
    padding: 1px;
    }

    Is it possible to select fontsizes in one cell?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    most likely, the other site contains CSS that overrides this then.
    You could try adding the !important flag to the commands, like

    padding: 1px !important;

    For the font size, try something like

    .tablepress-id-123 .row-3 .column-2 {
      font-size: 16px;
    }

    Regards,
    Tobias

    Hello
    When the text is h3 the lower space of the row does not work the described option. You can have a look at this table. I want to reduce space in rows when using text with h3.
    Thank you
    https://www.trebol-apuestas.com/bonos-casas-de-apuestas/

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    This is simply caused by the <h3> having a margin in your theme. To remove that in tables, please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress h3 {
        margin: 0;
    }

    Regards,
    Tobias

    Perfect;
    I can see the change! ??
    Thank you very much

    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!

    how to change height table every posting

    I use write like this

    .tablepress-id-3 td {
    padding: 1px;
    }

    .tablepress-id-5 td {
    padding: 1px;
    }

    .tablepress-id-6 td {
    padding: 1px;
    }

    .tablepress-id-7 td {
    padding: 1px;
    }

    .tablepress-id-8 td {
    padding: 1px;
    }

    • This reply was modified 7 years, 10 months ago by pspsmartphone.
    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    I’m not sure that I understand. 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

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Row height’ is closed to new replies.