Title: Multiple table with same layout
Last modified: August 9, 2017

---

# Multiple table with same layout

 *  Resolved [fun88id](https://wordpress.org/support/users/fun88id/)
 * (@fun88id)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/multiple-table-with-same-layout/)
 * Hi Hi, how can I compress below style so that it applies to all tables that I
   am creating?
 * .tablepress-id-1 thead th,
    .tablepress-id-2 thead th, .tablepress-id-3 thead
   th, .tablepress-id-4 thead th { color: #ffffff; background-color: #242424; }
 * .tablepress-id-1 .column-2,
    .tablepress-id-2 .column-2, .tablepress-id-3 .column-
   2, .tablepress-id-4 .column-2 { text-align: right; }
 * .tablepress-id-1 .channeltv,
    .tablepress-id-2 .channeltv, .tablepress-id-3 .
   channeltv, .tablepress-id-4 .channeltv { color: #25aae1; }
 * Instead of repeating the line “.tablepress-id-1 to 100” ??
 * Thank you.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmultiple-table-with-same-layout%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)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/multiple-table-with-same-layout/#post-9406438)
 * Hi,
 * sorry for the long delay, I was on holidays and could not reply earlier.
 * The shortest version (for ALL TablePress tables!) would be
 *     ```
       .tablepress thead th {
         color: #ffffff;
         background-color: #242424;
       }
   
       .tablepress .column-2 {
         text-align: right;
       }
   
       .tablepress .channeltv {
         color: #25aae1;
       }
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [fun88id](https://wordpress.org/support/users/fun88id/)
 * (@fun88id)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/multiple-table-with-same-layout/#post-9406839)
 * hi hi, thank you for this, cheers!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/multiple-table-with-same-layout/#post-9408173)
 * 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/)
   here in the plugin directory. Thanks!

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

The topic ‘Multiple table with same layout’ 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

 * [multiple-tables](https://wordpress.org/support/topic-tag/multiple-tables/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/multiple-table-with-same-layout/#post-9408173)
 * Status: resolved