Title: [Theme: Customizr] Background color for multiple tables on one post
Last modified: August 21, 2016

---

# [Theme: Customizr] Background color for multiple tables on one post

 *  [tbuckley2013](https://wordpress.org/support/users/tbuckley2013/)
 * (@tbuckley2013)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/theme-customizr/)
 * I am creating a post with multiple tables on it, and each table has a different
   background color, with colors for specific cells. I am wondering what my best
   option is to have the tables displayed the way I want them. If I were to paste
   the .css coding into the Custom CSS section of my Customizr Theme, what should
   my code look like, if I am hoping for each table to look different? I appreciate
   any help.
 * The post can be found at this link: [http://beerbarrelsports.com/2013-2014-nhl-final-roster-predictions-atlantic-division/](http://beerbarrelsports.com/2013-2014-nhl-final-roster-predictions-atlantic-division/)

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

 *  [tomaja](https://wordpress.org/support/users/tomaja/)
 * (@tomaja)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/theme-customizr/#post-4139070)
 * I would add some table classes for each table you wish to look diferent. You 
   can use existing ones (from Twitters Bootsrap, check [http://getbootstrap.com/2.3.2/base-css.html#tables](http://getbootstrap.com/2.3.2/base-css.html#tables))
   or you can make you own classes. For that you need to add in your custom.css 
   something like this:
 * `table .class1 tr,td` or `table.class1 tr,td` depending what elements in table
   you wish to change. For example:
 *     ```
       table .class1 td, th {
       border:1px solid blue;
       }
       th
       {
       background-color:blue;
       color:white;
       }
       ```
   
 * and then you need to add class to your table code in the post/page
 *     ```
       <table class="class1" width="600" cellspacing="0px" cellpadding="0px">
       ```
   
 * and so on with class2 for table2,….
 *  Thread Starter [tbuckley2013](https://wordpress.org/support/users/tbuckley2013/)
 * (@tbuckley2013)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/theme-customizr/#post-4139103)
 * I tried what you suggested, and it went from showing color for the table in Published
   mode, to showing just a blank white table. I may just can the idea of having 
   all of the tables look unique.
 *  [ElectricFeet](https://wordpress.org/support/users/electricfeet/)
 * (@electricfeet)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/theme-customizr/#post-4139127)
 * Customizr is built on Bootstrap. YOu might get some clues for better tables [here](http://getbootstrap.com/2.3.2/base-css.html#tables).

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

The topic ‘[Theme: Customizr] Background color for multiple tables on one post’ 
is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/customizr/4.4.24/screenshot.png)
 * Customizr
 * [Support Threads](https://wordpress.org/support/theme/customizr/)
 * [Active Topics](https://wordpress.org/support/theme/customizr/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/customizr/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/customizr/reviews/)

## Tags

 * [background, color](https://wordpress.org/support/topic-tag/background-color/)
 * [table](https://wordpress.org/support/topic-tag/table/)

 * 3 replies
 * 3 participants
 * Last reply from: [ElectricFeet](https://wordpress.org/support/users/electricfeet/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/theme-customizr/#post-4139127)
 * Status: not resolved