Title: Documentation CSS codes not working.
Last modified: November 14, 2018

---

# Documentation CSS codes not working.

 *  Resolved [shawn92](https://wordpress.org/support/users/shawn92/)
 * (@shawn92)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/documentation-css-codes-not-working/)
 * Hi Support team,
 * I am trying to change the hover color for my table in Table press but it doesn’t
   seem to work.
 * I have used this code to edit the color –
 * .tablepress .row-hover tr:hover td {
    background-color: #ff0000; } However still
   doesn’t seem to change.
 * **Also, I am trying to edit the table colors. I want each alternating row to 
   be a different color.**
 * I have tried using this code (Below) however, it still doesn’t seem to work.
 * .tablepress .odd td {
    background-color: #ff0000; } .tablepress .even td { background-
   color: #00ff00; } Please let me know.
 * Thank you
 * Kind Regards,
 * Shawn
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdocumentation-css-codes-not-working%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/documentation-css-codes-not-working/#post-10883983)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * Most likely, the cause for this is that your theme is also adding CSS styling
   for tables, with conflicting CSS selectors. To overwrite that, please try using
   the `!important` flag after the color commands, like
 *     ```
       background-color: #ff0000 !important;
       ```
   
 * Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Documentation CSS codes not working.’ 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

 * [color](https://wordpress.org/support/topic-tag/color/)
 * [hover](https://wordpress.org/support/topic-tag/hover/)
 * [row](https://wordpress.org/support/topic-tag/row/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/documentation-css-codes-not-working/#post-10883983)
 * Status: resolved