Title: Conditional formatting issue
Last modified: October 13, 2022

---

# Conditional formatting issue

 *  Resolved [dzinfandel](https://wordpress.org/support/users/dzinfandel/)
 * (@dzinfandel)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/conditional-formatting-issue/)
 * Am trying to set row formatting based on cell values and have tried many things
   I thought should work.
    Tested for correct ” format and set Short code
 * **Shortcode**
    [table id=2 highlight=”1||2||3″ row_highlight_full_cell_match=
   false /] tried no table id and xact and inexact match
 * **CSS **as follows and also tried with td{ as this was sometimes referenced.
 *     ```
       .tablepress .row.highlight-1 {
       	background-color: #FFD700 !important;
       }
   
       .tablepress .row.highlight-2 {
       	background-color: #C0C0C0 !important;
       }
   
       .tablepress .row.highlight-3 {
       	background-color: #CD7F32 !important;
       }
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fconditional-formatting-issue%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/conditional-formatting-issue/#post-16095109)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * It looks like you are using the Cell Highlighting Extension. Please try this “
   Custom CSS” then:
 *     ```
       .tablepress-id-2 .column-5.highlight-1 {
       	background-color: #FFD700 !important;
       }
       .tablepress-id-2 .column-5.highlight-2 {
       	background-color: #C0C0C0 !important;
       }
       .tablepress-id-2 .column-5.highlight-3 {
       	background-color: #CD7F32 !important;
       }
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [dzinfandel](https://wordpress.org/support/users/dzinfandel/)
 * (@dzinfandel)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/conditional-formatting-issue/#post-16097437)
 * Man you are good!
 * Is there any documentation on the various switches available on the extensions?
 * I was mixing cell conditional formatting with row conditional formatting.
 * I will be certainly reviewing this positively and contributing monetarily.
 * Thanx
    Dave!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/conditional-formatting-issue/#post-16099586)
 * Hi,
 * no, sorry, these particular Extensions are not yet documented that well. I’m 
   far behind on that, unfortunately.
 * Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Conditional formatting issue’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/conditional-formatting-issue/#post-16099586)
 * Status: resolved