transparent rows
-
Hello,
I have 3 issues.a) I want my table to have transparent rows. I tried first to see how it would look with just one row being trasnparent, using this:
‘.tablepress-id-CNG2015 .row-1 td, {
background-color: transparent;
}’and it worked. So I went to do this with all my rows (7 in total) by adding this:
‘.tablepress-id-CNG2015 .row-1 td,
.tablepress-id-CNG2015 .row-2 td,
.tablepress-id-CNG2015 .row-3 td,
.tablepress-id-CNG2015 .row-4 td,
.tablepress-id-CNG2015 .row-5 td,
.tablepress-id-CNG2015 .row-6 td,
.tablepress-id-CNG2015 .row-7 td,
{
background-color: transparent;
}’which did NOT work! All rows in the table appeared with the default color scheme. Any ideas?
b) I tried to disable hover, because I wanted the rows to remain transparent when we hover. I added to the above css the following line:
‘.tablepress-id-CNG2015 .row-hover tr:hover td {
background-color: transparent;
}’The result was, that all rows head the default color scheme, but only odd rows become transparent when hovered! Solution? (I want all transparent, hovered or not).
3) Opacity, how do I do it? can I use rgba values instead of hex? (or is there a way to do it with hex values?)
thank you !
- The topic ‘transparent rows’ is closed to new replies.