How to change table background color?
-
I want to change the table’s background color. It always is white and/or some not-so-white (“whitesmoke”?). I’ve already tried to add some CSS to the theme’s custom CSS:
.table { background-color: transparent; }
or
table { background-color: transparent; }
Doesn’t work, still white. I also played around with
background: #000000;
or even other things. Nothing’s happening at all.Even the following does not work:
.table-striped tbody > tr:nth-child(odd) > td, .table-striped tbody > tr:nth-child(odd) > th { background-color: transparent; } .table-hover tbody tr:hover > td, .table-hover tbody tr:hover > th { background-color: transparent; }
How to change table’s background to either transparent or a defined color?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to change table background color?’ is closed to new replies.