Hi,
thanks for your post, and sorry for the trouble.
Can you clarify what you mean with the borders? The bottom table (not from TablePress) also has a border around every td. What border do you want and which one not?
As for the pagination: These features are only available in tables that have a header row. So, you would need to add a new first row and can then enable all these features. If you don’t actually want that header row, you can hide it with CSS code, like
.tablepress-id-2 thead {
display: none;
}
Regards,
Tobias
Additional I already added this to get white background in all rows:
.tablepress-id-2 .odd td {
background-color: #fff;
color: #7A7A7A;
}
.tablepress-id-2 .even td {
background-color: #fff;
color: #7A7A7A;
}
But it doesn’t work.
Hi,
ah, I see. Thanks for the explanation 🙂
For that, you will have to set the border radius only on the corner cells, like in this thread: https://wordpress.org/support/topic/round-corner-2/
As for the alternating background colors: This is caused by your theme, which is actually setting these colors, and not TablePress. To override that, please try this CSS code:
.tablepress-id-2 tbody td {
background-color: #ffffff !important;
}
Regards,
Tobias
Thank you! one more question offtopic.
Is there a way to translate previous/next text from table?
Thank you!
Hi,
no problem!
To change these strings to something else, you can use the TablePress Extension from https://tablepress.org/extensions/change-datatables-strings/
Regards,
Tobias
Hello!
Extension is already installed and in the folder is only es_ES file but it still showing english text.
Also wordpress language is set as es_ES.
Hi,
can you then please add this parameter to the Shortcode:
[table id=123 datatables_locale=es_ES /]
?
Regards,
Tobias
Is already added, but no, nothing change
Hi,
are you sure that the Extension is activated?
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
Yes, extension is activated.
Link to table is https://shkagro.com.mx/contactanos/
it-s working now, thank you!
You can mark it as resolved.
Many thanks!
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!