Title: Custom CSS per table
Last modified: January 6, 2017

---

# Custom CSS per table

 *  Resolved [Yak1](https://wordpress.org/support/users/yak1/)
 * (@yak1)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/custom-css-per-table/)
 * I am aware of the Custom CSS in Plugin Options.
 * I am working on a WP site with over a thousand pages, most of which contain at
   least one table. Content per table will differ but CSS styling will be near identical
   across all tables.
 * Is my only option a single gigantic CSS document, in which I have to define font
   sizes, colors etc. per row/column again and again for each table ID?
 * Or can I somehow create a CSS template I can reuse for each table’s layout and
   formatting?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/custom-css-per-table/#post-8625808)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * There’s indeed just that one large CSS document/textarea, but I believe that 
   that is sufficient, even with a lot of CSS to manage.
 * The size of your CSS will basically be determined by how similar everything is.
   For example, if many of your tables get the same changes, it might make sense
   to define those once as the default, by using the `.tablepress` CSS selector 
   instead of multiple of the individual `.tablepress-id-123` selectors.
    If you
   have tables that can be grouped (e.g. because they all have the same structure
   and layout), you could also explore using “Extra CSS classes”. For an example
   of that, please see [https://wordpress.org/support/topic/table-groups/](https://wordpress.org/support/topic/table-groups/)
 * Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Custom CSS per table’ 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

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [styling](https://wordpress.org/support/topic-tag/styling/)
 * [table](https://wordpress.org/support/topic-tag/table/)
 * [template](https://wordpress.org/support/topic-tag/template/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/custom-css-per-table/#post-8625808)
 * Status: resolved