Changing background color of a table
Changing background color of a table
vader7071
Posts: 1Questions: 1Answers: 0
I am creating a very basic table with just a little text and an image. I am using the "dark" color scheme on theme Twenty seventeen in Wordpress.
But since the table background it white/off-white, the text does not show up. Is there a way to make the table background pull the same color as the theme?
This discussion has been closed.
Answers
you could add a custom styling class to each row or cell using rowCallback() or createdCell(), but I would think the simplest solution would be to just override it with normal css
.yourTableClass tr>td { }
that should override any datatables styling, if not the !important tag will