Title: Colouring Specific Rows
Last modified: March 23, 2019

---

# Colouring Specific Rows

 *  Resolved [scottiej86](https://wordpress.org/support/users/scottiej86/)
 * (@scottiej86)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/colouring-specific-rows/)
 * I’ve looked through the threads and nothing seems to work at this point.
 * I need to colour particular rows in my Schedule as seen here: [https://stthomascoed.ca/division-1-schedule-results/](https://stthomascoed.ca/division-1-schedule-results/)
 * Unfortunately, nothing wants to override the alternating colours command for 
   those particular rows.
 * What code do I need to use to make this work?
 * I’m using this CSS so far:
 * .tablepress-id-79 .row-1,
    .tablepress-id-79 .row-10, .tablepress-id-79 .row-
   15, .tablepress-id-79 .row-20, .tablepress-id-79 .row-25, .tablepress-id-79 .
   row-36, .tablepress-id-79 .row-41, .tablepress-id-79 .row-47, .tablepress-id-
   79 .row-52, .tablepress-id-79 .row-61, .tablepress-id-79 .row-66 { font-weight:
   bolder; font-size: 10px; color: #0e143e; line-height: 40px; }
 * Thanks.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcolouring-specific-rows%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)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/colouring-specific-rows/#post-11347957)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * You are very close. You’ll basically just have to add `td`s to your CSS, so that
   it affects the cells in a row instead of the row element.
    So, for example, simply
   change
 *     ```
       .tablepress-id-79 .row-1,
       ```
   
 * to
 *     ```
       .tablepress-id-79 .row-1 td,
       ```
   
 * For more, please see [https://tablepress.org/faq/change-background-color-of-a-row/](https://tablepress.org/faq/change-background-color-of-a-row/)
 * Regards,
    Tobias
 *  Thread Starter [scottiej86](https://wordpress.org/support/users/scottiej86/)
 * (@scottiej86)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/colouring-specific-rows/#post-11385525)
 * Thank you very much! It worked, sorry for the delayed response!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/colouring-specific-rows/#post-11390424)
 * Hi,
 * no problem, you are very welcome! 🙂 Always happy to help!
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](https://wordpress.org/support/plugin/tablepress/reviews/#new-post)
   here in the plugin directory. Thanks!

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

The topic ‘Colouring Specific Rows’ 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: [7 years, 1 month ago](https://wordpress.org/support/topic/colouring-specific-rows/#post-11390424)
 * Status: resolved