Title: custom CSS for multiple tables
Last modified: May 8, 2020

---

# custom CSS for multiple tables

 *  Resolved [cupflppr](https://wordpress.org/support/users/cupflppr/)
 * (@cupflppr)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/custom-css-for-multiple-tables/)
 * i love your plugin but want to know how do i apply custom CSS to multiple tables
   across my entire site.
 * i have a site with 10 product pages. each page will have 3 different tables and
   each table will use the same custom CSS styling
 * currently all i know how to do it create the CSS 3 times for each page and change
   the ID #. below is the custom CSS for 1 single product page that uses table ID
   2,3 & 4
 * is there a way to apply GLOBAL CSS to all my tables? if not ill have 3 different
   CSS styles replicated 10 times each
 * see below
 * .tablepress-id-2 tbody td {
    font-size: 16px; color: #505050; }
 * .tablepress-id-3 tbody td {
    font-size: 16px; color: #505050; }
 * .tablepress-id-4 tbody td {
    font-size: 16px; color: #505050; }
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcustom-css-for-multiple-tables%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)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/custom-css-for-multiple-tables/#post-12804546)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * You could simply use the global `.tablepress` CSS selector here, from what I 
   can see (see [https://tablepress.org/faq/css-selectors/](https://tablepress.org/faq/css-selectors/)).
 * Thus, the CSS
 *     ```
       .tablepress tbody td {
         font-size: 16px;
         color: #505050;
       }
       ```
   
 * would be enough to style all tables on the site at once.
 * Regards,
    Tobias
 *  Thread Starter [cupflppr](https://wordpress.org/support/users/cupflppr/)
 * (@cupflppr)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/custom-css-for-multiple-tables/#post-12804553)
 * FANTASTIC!! ty so much…
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/custom-css-for-multiple-tables/#post-12804558)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * 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 ‘custom CSS for multiple tables’ 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: [6 years, 1 month ago](https://wordpress.org/support/topic/custom-css-for-multiple-tables/#post-12804558)
 * Status: resolved