Target all columns with CSS
-
Hi Tobias!
I’ve been trying to manually remove as much of my custom CSS as possible, since I have a lot of tables, where I set the ‘text-align’ and ‘vertical-align’ for basically every column of every table. I thought it would be better to somehow target all columns of all tables with one rule.
But I can’t get the CSS to work.
Here’s what I’ve tried so far:
1.
[class*=”column-“]2.
.tablepress thead tr th,
.tablepress tbody tr td3.
.tablepress thead th,
.tablepress tbody td4.
[class*=”tablepress-id-“] [class*=”column-“]None of these selectors work. Do you have any idea why or another example I could try?
Thanks!
AdamThe page I need help with: [log in to see the link]
The topic ‘Target all columns with CSS’ is closed to new replies.