-
AuthorPosts
-
July 15, 2015 at 3:34 am #330760
Hi,
i can’t seem to change the background color on my table rows using the integrity stack and tablepress plugin. Always showing just default colors white and light grey :/July 15, 2015 at 4:01 am #330783Hi there,
Thanks for writing in! It seems you are dealing with an issue that may be due to a 3rd Party Plugin. We really can’t support 3rd Party plugins or scripts as there are just way to many to even try. However if we can find a quick fix then we’ll attempt it, otherwise we would need to point you back to the plugin developer for further support. Would you mind providing your URL so we can take a look and see if it’s something we can help out with? Thanks!
July 15, 2015 at 4:18 am #330794This reply has been marked as private.July 15, 2015 at 5:11 am #330825Hi Marcel,
You can add this under Custom > CSS in the Customizer.
body .tablepress tbody td { background-color: red !important; } body .tablepress .row-hover tr:hover td { background-color: blue !important; }
Change red and blue with the color that you like.
Thanks
July 15, 2015 at 6:07 am #330872thanks it works 🙂
however it applies only to one of the tables…so far i haven’t figured why as the whole class tablepress is targetedJuly 15, 2015 at 6:18 am #330877Hi there,
I see the code works on both tables in provided URL, can you clarify more?
Thanks.
July 15, 2015 at 6:23 am #330885This reply has been marked as private.July 15, 2015 at 7:04 am #330915Hi there,
Thanks for updating the thread! Try the following CSS:
To color the whole background as one
.tablepress { background-color: #d9edf7; }
to color every other row
.tablepress tbody tr:nth-child(2n+1){ background-color: #d9edf7; }
You can combine the two so you can choose two different alternating background colors. If you want to change the text color, just add color:red; to each of the above and change the color.
Hope this helps – thanks!
July 16, 2015 at 2:32 am #331856Thanks it works 🙂
July 16, 2015 at 2:44 am #331864You are most welcome!
-
AuthorPosts