Changing background color on certain rows
-
Hi.
First of all, great plugin!
I don’t understand how i can change certain rows and coulums with a new background color.
I have tried this:
.tablepress-id-N .row-X .column-Y {
background-color: #ff0000;
}And when that didn’t do anything, i tried placing “!important” after the color. But still nothing changed. All other functions like “hover”, “font” changes, but not bakground color on certain rows.
Here is my Custom CSS in tablepress:
.tablepress-id-1 th,
.tablepress-id-1 .sorting {
background-color: #2f96f3 !important;
}.tablepress-id-1 .sorting_asc,
.tablepress-id-1 .sorting_desc {
background-color: #f26522 !important;
}.tablepress-id-1 td {
font-family: Lora;
font-size: 16px;
color: #333333;
}.tablepress-id-1 .row-hover tr:hover td {
background-color: #c0ddf7 !important;
}Please help me! ??
- The topic ‘Changing background color on certain rows’ is closed to new replies.