Hi! Here’s the trouble…
I have a table with 4 columns that fits just nicely, but I want a 5th category of data to be represented by color. It’s a list of jobs: Workplace, City, Description, Due date to apply, and the 5th bit of info would be Type: Permanent, Temporary, etc.
I want to import a CSV file that goes like Workplace, City, Description, Due date to apply, Type… but I don’t want to show Type as a column, I want it to show as a coloring of the row (ie. rows listing Permanent jobs get a red background, rows listing Temporary jobs get a green background, etc.)
Any idea how I can color the row red when Permanent is the value in the last column?
P.S. I COULD put code into the Type column of the CSV itself if I absolutely had to (maybe
class="permanent"or something like that)… but I wouldn’t want to.
- The topic ‘[Plugin: WP-Table Reloaded] Custom CSS for rows that contain specific word’ is closed to new replies.