Hi,
thanks for your post, and sorry for the trouble.
Setting the height will usually not work, but setting the padding should:
.tablepress-id-1 .row-2 td {
padding-top: 2px;
padding-bottom: 2px;
}
If not, 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
Korjaw
(@korjaw)
i have another problem with center table
i used for table id width: auto; margin: 0 auto 1em; and it works when 1st header row is unmarked, table is center. I want pagination so i must marked 1st header row, but then table is align to left :/ Its a solution for this ?
ok i fixed it 😛
NOW problem: its possible to change height of header row ?
.tablepress-id-1 .row-1 td {
padding-top: 2px;
padding-bottom: 2px;
}
this dont work 😛
-
This reply was modified 8 years, 6 months ago by
Korjaw.
-
This reply was modified 8 years, 6 months ago by
Korjaw.
-
This reply was modified 8 years, 6 months ago by
Korjaw.
Hi,
the first row is a header row, so you must use the th HTML tag:
.tablepress-id-1 thead th {
padding-top: 2px;
padding-bottom: 2px;
}
Regards,
Tobias
Thread Starter
Korjaw
(@korjaw)
Yeah, right so simple.. thanks ! 🙂
Last question (i hope :P), how change style of pagination “< Previous Next >”
Thread Starter
Korjaw
(@korjaw)
thanks, but this is only for arrows ?
i want change font etc “Previous” “Next” too
Hi,
ah, my bad.
For that, try something like
.dataTables_paginate a {
color: #ff0000 !important;
}
Regards,
Tobias
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!