WP-Table Reloaded – remove/change cell padding
-
I have a couple of rows that I’m applying a special class to so that it has a specific background color. I’m putting the class right around the content in the cell itself. It’s working ok but the problem I’m having is that there is a 4px padding on the td by default. I tried setting my class td to padding 0 but that doesn’t seem to make a difference. So I’m ending up with white space around my background color within the cell.
This is the css I have for my class:
.wp-table-reloaded td .highlight { background-color: #dfef2e; font-weight: bold; padding: 0px; }
Maybe this isn’t the best way to do this but I was a little confused on how to add custom css to the table so I added the CSS to the regular theme css.
Any ideas? Thanks!
https://www.ads-software.com/extend/plugins/wp-table-reloaded/
- The topic ‘WP-Table Reloaded – remove/change cell padding’ is closed to new replies.