Title: custom  css
Last modified: August 22, 2016

---

# custom css

 *  Resolved [Kurt_T](https://wordpress.org/support/users/kurt_t/)
 * (@kurt_t)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/custom-css-99/)
 * Hi , I added the following code from the faq ([https://tablepress.org/faq/](https://tablepress.org/faq/)):
 *     ```
       .tablepress .odd td {
       	background-color: #ff0000;
       }
       .tablepress .even td {
       	background-color: #00ff00;
       }
       ```
   
 * But only the even table-rows get colored green, the odd one dont become red.
 * have I overseen something? thanx
    Kurt
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/custom-css-99/#post-5707698)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * My assumption here is that your theme is also setting colors for the alternating
   rows, but in a more aggressie manner. We might therefore have to increase the
   priority of this “Custom CSS”, by adding the `!important` keyword:
 *     ```
       .tablepress .odd td {
       	background-color: #ff0000 !important;
       }
       .tablepress .even td {
       	background-color: #00ff00 !important;
       }
       ```
   
 * Can you please try again with that?
 * Regards,
    Tobias
 *  Thread Starter [Kurt_T](https://wordpress.org/support/users/kurt_t/)
 * (@kurt_t)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/custom-css-99/#post-5707705)
 * Hi Tobias,
 * your assumption was correct. It works now. Thanx
 * Kurt
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/custom-css-99/#post-5707707)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](https://wordpress.org/support/view/plugin-reviews/tablepress)
   here in the plugin directory. Thanks!

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

The topic ‘custom css’ 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: [11 years, 3 months ago](https://wordpress.org/support/topic/custom-css-99/#post-5707707)
 * Status: resolved