Color Hover Specific column-cell
-
Hi,
I use this plugin for years. (135 tables on my website).
I was using
.tablepress-id-1 .row-hover .row-18:hover td { background-color: #F4BC00; }
All is fine,
Now I want to make a table with 2 column and around 10 rows.
First column does not have to change his color, only the seocnd one.I was thinking of
.tablepress-id-128 .row-hover .row-17, .column-1:hover td { background-color: #2F336B; }
but i’m out of luck,
Is there a way to do this? Having only a specific column that change color on hover?
(In this case column-2)Here’s the whole code:
.tablepress-id-128 .row-hover .row-1, .column-1:hover td, .tablepress-id-128 .row-hover .row-2, .column-1:hover td, .tablepress-id-128 .row-hover .row-3, .column-1:hover td, .tablepress-id-128 .row-hover .row-4, .column-1:hover td, .tablepress-id-128 .row-hover .row-5, .column-1:hover td, .tablepress-id-128 .row-hover .row-6, .column-1:hover td, .tablepress-id-128 .row-hover .row-7, .column-1:hover td, .tablepress-id-128 .row-hover .row-8, .column-1:hover td, .tablepress-id-128 .row-hover .row-9, .column-1:hover td, .tablepress-id-128 .row-hover .row-10, .column-1:hover td, .tablepress-id-128 .row-hover .row-11, .column-1:hover td, .tablepress-id-128 .row-hover .row-12, .column-1:hover td, .tablepress-id-128 .row-hover .row-13, .column-1:hover td, .tablepress-id-128 .row-hover .row-14, .column-1:hover td, .tablepress-id-128 .row-hover .row-15, .column-1:hover td, .tablepress-id-128 .row-hover .row-16, .column-1:hover td, .tablepress-id-128 .row-hover .row-17, .column-1:hover td { background-color: #2F336B; } .tablepress-id-128 .row-hover .row-1, .column-2:hover td, .tablepress-id-128 .row-hover .row-2, .column-2:hover td, .tablepress-id-128 .row-hover .row-3, .column-2:hover td, .tablepress-id-128 .row-hover .row-4, .column-2:hover td, .tablepress-id-128 .row-hover .row-5, .column-2:hover td, .tablepress-id-128 .row-hover .row-6, .column-2:hover td, .tablepress-id-128 .row-hover .row-7, .column-2:hover td, .tablepress-id-128 .row-hover .row-8, .column-2:hover td, .tablepress-id-128 .row-hover .row-9, .column-2:hover td, .tablepress-id-128 .row-hover .row-10, .column-2:hover td, .tablepress-id-128 .row-hover .row-11, .column-2:hover td, .tablepress-id-128 .row-hover .row-12, .column-2:hover td, .tablepress-id-128 .row-hover .row-13, .column-2:hover td, .tablepress-id-128 .row-hover .row-14, .column-2:hover td, .tablepress-id-128 .row-hover .row-15, .column-2:hover td, .tablepress-id-128 .row-hover .row-16, .column-2:hover td, .tablepress-id-128 .row-hover .row-17, .column-2:hover td { background-color: #F4BC00; }
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Color Hover Specific column-cell’ is closed to new replies.