Title: Header colours
Last modified: August 22, 2016

---

# Header colours

 *  Resolved [ocon1](https://wordpress.org/support/users/ocon1/)
 * (@ocon1)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/header-colours/)
 * How can i change the colour of the font in the header row??? The main row.
 * Thanks.
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/header-colours/#post-5478358)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * For this, you can use similar code as for changing the background color (see 
   [http://tablepress.org/faq/change-background-color-table-head-row/](http://tablepress.org/faq/change-background-color-table-head-row/)).
   You will just have to use the `color` property, like
 *     ```
       .tablepress thead th,
       .tablepress tfoot th {
       	color: #ff0000;
       }
       ```
   
 * Regards,
    Tobias
 *  [vantran](https://wordpress.org/support/users/vantran/)
 * (@vantran)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/header-colours/#post-5478378)
 * Hi
    I have a question ? I would like to change color of text in header row . 
   What can i do ? Tks and Best Regards.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/header-colours/#post-5478389)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * That’s exactly what I answered above 🙂 Just try that code in the “Custom CSS”
   textarea on the “Plugin Options” screen of TablePress.
    If it doesn’t work, add
   the `!important` keyword, like
 *     ```
       color: #ff0000 !important;
       ```
   
 * to the code.
 * Regards,
    Tobias
 *  [vantran](https://wordpress.org/support/users/vantran/)
 * (@vantran)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/header-colours/#post-5478417)
 * Hi Tobias
    Tks very much. It’s work. I have put 2 code to this:
 *     ```
       .tablepress thead th,
       .tablepress tfoot th {
       	background-color: #20CBBC;
       }
   
       .tablepress thead th,
       .tablepress tfoot th {
       	color: #ffffff !important;
       }
       ```
   
 *  Then i have a nice table .
    Tks again
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/header-colours/#post-5478431)
 * Hi,
 * yes, that should fix both the background color and the text color. If you want,
   you can combine that into one piece of code:
 *     ```
       .tablepress thead th,
       .tablepress tfoot th {
       	background-color: #20CBBC;
       	color: #ffffff !important;
       }
       ```
   
 * 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 5 replies - 1 through 5 (of 5 total)

The topic ‘Header colours’ 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

 * [colour](https://wordpress.org/support/topic-tag/colour/)
 * [font](https://wordpress.org/support/topic-tag/font/)
 * [header](https://wordpress.org/support/topic-tag/header/)

 * 5 replies
 * 3 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/header-colours/#post-5478431)
 * Status: resolved