Title: Error stylish css
Last modified: August 31, 2016

---

# Error stylish css

 *  Resolved [josemarrae](https://wordpress.org/support/users/josemarrae/)
 * (@josemarrae)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/error-stylish-css/)
 * I applied the following CSS to the table showing the rows alternating colors:
 *     ```
       .tablepress .odd td {
       	background-color: #ff0000;
       }
   
       .tablepress .even td {
       	background-color: #CCCC99;
       }
       ```
   
 * Attached image which shows that this rule does not apply in the first rows.
 * [Image](http://i63.tinypic.com/2ahyxow.jpg)
 * Where can you be wrong?
 * [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)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/error-stylish-css/#post-7068058)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Can you please post a link to the page with the table where this problem happens,
   so that I can take a direct look? Thanks!
 * Regards,
    Tobias
 *  Thread Starter [josemarrae](https://wordpress.org/support/users/josemarrae/)
 * (@josemarrae)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-stylish-css/#post-7068261)
 * [http://www.ganaderiacasagabino.com/hembras-de-mas-de-18-meses/](http://www.ganaderiacasagabino.com/hembras-de-mas-de-18-meses/)
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-stylish-css/#post-7068262)
 * Hi,
 * thanks! The reason for this basically is that your theme is also loading CSS 
   code that changes the alternating row colors of tables. We’ll therefore have 
   to give your code a higher priority, by adding the `!important` keyword.
    Please
   try again with
 *     ```
       .tablepress .odd td {
       	background-color: #ff0000 !important;
       }
   
       .tablepress .even td {
       	background-color: #CCCC99 !important;
       }
       ```
   
 * Regards,
    Tobias

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

The topic ‘Error stylish 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/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/error-stylish-css/#post-7068262)
 * Status: resolved