Title: CSS and multiple tables
Last modified: February 26, 2018

---

# CSS and multiple tables

 *  Resolved [surfs-up](https://wordpress.org/support/users/surfs-up/)
 * (@surfs-up)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/css-and-multiple-tables/)
 * Hello –
 * I know how to apply CSS to ALL the tables & to individual tables using their 
   table ID…. but is there a way to apply CSS to a group of tables, there by saving
   repeating the CSS for several tables just to avoid having it apply to all.
 * Or maybe there is another way to achieve this….?
 * Thanks Tobias

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/css-and-multiple-tables/#post-10017597)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * The only ways are to group the selectors, or to use “Extra CSS classes”. See 
   e.g. [https://wordpress.org/support/topic/interval-of-tables/](https://wordpress.org/support/topic/interval-of-tables/)
 * Regards,
    Tobias
 *  Thread Starter [surfs-up](https://wordpress.org/support/users/surfs-up/)
 * (@surfs-up)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/css-and-multiple-tables/#post-10022006)
 * So to use CSS classes I would create a title for a group of tables I want formatted
   the same. Like Broncs-Tables, and add this title to the “Custom Commands” section
   at the bottom of each table I want the CSS to apply to.
 * Then in the Plugin Options CSS I would put something like –
 * .Broncs-Tables .column-1 {
    Font-size:small; }
 * Is this correct?
 * How would I set the maximum table width along with something just in one column?
 * Thanks for the links, that has helped, but I just want to make sure I understand.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/css-and-multiple-tables/#post-10022617)
 * Hi,
 * yes, that’s correct – except the field to enter this is “Extra CSS classes” and
   NOT “Custom Commands”!
 * To set a maximum table width, you would simply use CSS like
 *     ```
       .Broncs-Tables {
         width: 400px;
       }
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [surfs-up](https://wordpress.org/support/users/surfs-up/)
 * (@surfs-up)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/css-and-multiple-tables/#post-10024899)
 * Okay, now I’m going to be a dense-newbie 🙂
 * Where do I find… Extra CSS Classes in WP, tablepress or ?
 * I am completely new to all things WP, and finding where things are in WP is my
   biggest stumbling block.
 * Sorry Tobias,
 *  Thread Starter [surfs-up](https://wordpress.org/support/users/surfs-up/)
 * (@surfs-up)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/css-and-multiple-tables/#post-10025147)
 * I got it… you’re the best Tobias!
 * My tables are so long I was skipping over the Extra CSS field.
 * Thank you for your patience 🙂
 *  Thread Starter [surfs-up](https://wordpress.org/support/users/surfs-up/)
 * (@surfs-up)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/css-and-multiple-tables/#post-10025232)
 * Quick question:
 * When working on a table (edit) is there a way to expand all the cells to see 
   their contents, in one move? This would be very helpful instead of opening each
   by clicking or….
 * Thanks again !
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/css-and-multiple-tables/#post-10025778)
 * Hi,
 * for this, you could increase the default size, e.g. using [https://tablepress.org/extensions/input-field-size/](https://tablepress.org/extensions/input-field-size/)
 * Regards,
    Tobias
 *  Thread Starter [surfs-up](https://wordpress.org/support/users/surfs-up/)
 * (@surfs-up)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/css-and-multiple-tables/#post-10026225)
 * Thanks, I will try that extension and make another donation 🙂
 * Can you show me how to indicate 2 table Extensions for one table? I’m using responsive,
   but see one or two more I may want to add.
 * All the best,
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/css-and-multiple-tables/#post-10027231)
 * Hi,
 * you would just also add the other parameter to the Shortcode, nothing special
   🙂
 * Regards,
    Tobias
 *  Thread Starter [surfs-up](https://wordpress.org/support/users/surfs-up/)
 * (@surfs-up)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/css-and-multiple-tables/#post-10029401)
 * Thank you so much – Tobias
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/css-and-multiple-tables/#post-10029959)
 * Hi,
 * sure, always happy to help! 🙂
 * Best wishes,
    Tobias

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

The topic ‘CSS and 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/)

## Tags

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

 * 11 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/css-and-multiple-tables/#post-10029959)
 * Status: resolved