Row height
-
Hey!
I got a quick question.
How / and where do i change the cell height?
I need my table like this: http://prntscr.com/bjns8z
so i can use tablepress as a gallery 🙂
-
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,
TobiasIts not one cell, these are 2. http://prntscr.com/bjns8z
I want to edit the cell height, so 2 (or more) tables are as high as shown in my picture.
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,
TobiasThank 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 🙂
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,
Tobiasis it possible to give ALL cells that padding?
Hi,
sure:
.tablepress-id-1 th, .tablepress-id-1 td { padding: 1px; }Regards,
TobiasOk, 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?
Hi,
most likely, the other site contains CSS that overrides this then.
You could try adding the!importantflag to the commands, likepadding: 1px !important;For the font size, try something like
.tablepress-id-123 .row-3 .column-2 { font-size: 16px; }Regards,
TobiasHello
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
http://www.trebol-apuestas.com/bonos-casas-de-apuestas/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,
TobiasPerfect;
I can see the change! 🙂
Thank you very muchHi,
no problem, you are very welcome! 🙂 Good to hear that this helped!
Best wishes,
TobiasP.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 9 years, 2 months ago by
pspsmartphone.
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 -
This reply was modified 9 years, 2 months ago by
The topic ‘Row height’ is closed to new replies.