Title: Same width and change colours
Last modified: August 21, 2016

---

# Same width and change colours

 *  Resolved [BissWordpress](https://wordpress.org/support/users/bisswordpress/)
 * (@bisswordpress)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/same-width-and-change-colours/)
 * Hello,
 * We’ll be mainly using the plugin to create tables like these:
 * [http://www.f1zone.net/news/lotus-only-team-to-miss-jerez-test/21744/](http://www.f1zone.net/news/lotus-only-team-to-miss-jerez-test/21744/)
 * But as you can see the width is not the same for all the columns. How can we 
   fix this. So if we use 2 colums, 3 or even 7 we get the same width?
 * And you can see the tables color is very grey, how can we change it to #222222?
 * Thanks a lot!
 * [http://wordpress.org/plugins/tablepress/](http://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)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/same-width-and-change-colours/#post-4532209)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * To change the text color for all tables, just add this to the “Custom CSS”:
 *     ```
       .tablepress th,
       .tablepress td {
         color: #222222;
       }
       ```
   
 * For making the column width equal, you’ll have to set it for each table individually
   and calculate the width for each column according to the number of columns. For
   that table, you would use
 *     ```
       .tablepress-id-3 th,
       .tablepress-id-3 td {
         width: 33%;
       }
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [BissWordpress](https://wordpress.org/support/users/bisswordpress/)
 * (@bisswordpress)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/same-width-and-change-colours/#post-4532302)
 * Thanks a lot.
 * I see the colours have changed but the width didn’t.
 * [http://www.f1zone.net/news/lotus-only-team-to-miss-jerez-test/21744/](http://www.f1zone.net/news/lotus-only-team-to-miss-jerez-test/21744/)
 * I applied the same CSS with no changes.
 * I purged my cache and I still them not equal.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/same-width-and-change-colours/#post-4532305)
 * Hi,
 * this is working fine from what I can see. In the table below “2014 car launches”,
   all cells have a width of 215px, which equals those 33%.
 * Regards,
    Tobias

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

The topic ‘Same width and change 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/same-width-and-change-colours/#post-4532305)
 * Status: resolved