Remove bottom border for 1 cell or column
-
Hi Tobias,
your Tablepress plugin is really useful and so is the support you’re giving, it’s amazing…
I have a question for you. I have a very simple table that works like kind of a menu, and I would like it not to show any border on the bottom of a specific cell.
This is the entire .css code I’ve put on it:
.tablepress-id-1 .row-1 .column-1 { font-weight: bold; } .tablepress-id-1 .row-1 .column-1 { background-color: #cccccc; } /* Change the hover individual cell color */ .tablepress-id-1 .row-hover tr td:hover { background-color: #cccccc !important; } /* Font color, except for the first column*/ .tablepress-id-1 .row-1 td:not(.column-1) { color: #184c76; } /*Border structure*/ .tablepress-id-1, .tablepress-id-1 tr, .tablepress-id-1 tbody td, .tablepress-id-1 thead th, .tablepress-id-1 tfoot th { border: 1px solid #c9c9c9; } /*Removing the bottom border of a cell*/ #content .tablepress-id-1 .row-1 .column-1 { border-bottom: none; }
I have a very poor experience on code and as far as I can see, the last part of it should be right, but my page/post keeps on showing me the bottom border of that row1/column1 cell. I guess this is because it keeps showing the bottom border of the entire row or the entire table, as it has only 1 row and 8 columns.
Could you enlighten me, please?
Thank you very much and keep up the good work!
- The topic ‘Remove bottom border for 1 cell or column’ is closed to new replies.