Hi there,
Can you please tell me if it is possible to change the background on the tables to a dark color? If so, how can I do that?
Thanks!
ARToinet
Hi there,
Can you please tell me if it is possible to change the background on the tables to a dark color? If so, how can I do that?
Thanks!
ARToinet
Hi,
thanks for your question. This is possible with some CSS code. Please try adding
.tablepress tbody td {
background-color: #ff0000;
}
to the "Custom CSS" textarea on the "Plugin Options" screen of TablePress.
This will change the background color of all tables.
For more examples, please see the plugin FAQ page at http://tablepress.org/faq/
Regards,
Tobias
I have added the code, but unfortunately it did not work. The background is still light.
Regards,
ARToinet
Hi,
can you then please post the link to the page with your table? I will gladly take a look then. Most probably, we'll just need some more specific code.
Thanks,
Tobias
Hi Tobias,
Many thanks for your quick reply!
This is the link to the page: http://www.artoinet.com/test-page/
Hope you can help :)
Kind regards,
ARToinet
Hi,
thanks for the link.
You'll just have to uncheck the "Alternating row colors" checkbox on the table's "Edit" screen, and the color change will work as expected.
Then just change the color value to what you want.
Regards,
Tobias
WOW, thanks, that was easy!
Now I have two more questions:
1. Can I change the header row to the same color as the background of the table? It's still a light color.
2. Is there a way to change the hover color, when the cursor hovers over a row?
Thanks!
ARToinet
Hi,
yes, this is both possible. Please take a look at the FAQ page at http://tablepress.org/faq/ where you will find exactly these questions answered.
Regards,
Tobias
Hi,
Brilliant! Thanks, Tobias!
Regards,
ARToinet
Hi,
sure, no problem, you are very welcome!
Best wishes,
Tobias
P.S.: In case you haven't, please rate the plugin here in the plugin directory. Thanks!
You must log in to post.