Title: Can I create a conditional CSS command?
Last modified: October 1, 2016

---

# Can I create a conditional CSS command?

 *  Resolved [workharder](https://wordpress.org/support/users/workharder/)
 * (@workharder)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/can-i-create-a-conditional-css-command/)
 * Hey Guys,
 * Is it possible to create a conditional CSS command on tablepress?
 * For example – I would like it that if any value in a column has a ‘+’ in front
   of it, I can set the font colour to be green.
 * Page I am working on: [http://crypto.lleyta-group.com/](http://crypto.lleyta-group.com/)
 * Thanks 🙂

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/can-i-create-a-conditional-css-command/#post-8250391)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * I see what you mean, but unfortunately, this is not directly possible with CSS
   code, as it can not take the content into account for selectors. 🙁
 * Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Can I create a conditional CSS command?’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/can-i-create-a-conditional-css-command/#post-8250391)
 * Status: resolved