Title: [Plugin TablePress] Different IDs in one style
Last modified: August 21, 2016

---

# [Plugin TablePress] Different IDs in one style

 *  [echod](https://wordpress.org/support/users/echod/)
 * (@echod)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/plugin-tablepress-different-ids-in-one-style/)
 * Hi
    i use plugin tablepress, it very good! one moment…. there are different tables
   which need to apply one style **now : **
 *     ```
       .tablepress-id-1 .column-1,
       .tablepress-id-5 .column-1 {
       width: auto; }
       ```
   
 * it is possible to make the list of all IDs in one parameter?
    **want for example
   so:**
 *     ```
       .tablepress-id-1,5,...N.... .column-1 {
        	width: auto; }
       ```
   
 * **OR**
 *     ```
       .tablepress-id-1-5-...N.... .column-1 {
       width: auto; }
       ```
   
 * – but dont work

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

 *  [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/plugin-tablepress-different-ids-in-one-style/#post-4418880)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * No, that is not possible like this, because of how CSS code works.
 * Instead, you could use an “Extra CSS class”. For example, add “tablepress-my-
   custom-style” (or something similar) to the “Extra CSS classes” field on the “
   Edit” screen of each table where you wan this. After that, you can use this CSS:
 *     ```
       .tablepress-my-custom-style .column-1 {
         width: auto;
       }
       ```
   
 * All tables that have that Extra CSS class will automatically get this stylng.
 * Regards,
    Tobias
 *  Thread Starter [echod](https://wordpress.org/support/users/echod/)
 * (@echod)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/plugin-tablepress-different-ids-in-one-style/#post-4418954)
 * it works!
    i should look post in support better before ask question
 * Thanks for answer!
 *  [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/plugin-tablepress-different-ids-in-one-style/#post-4418960)
 * 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](http://wordpress.org/support/view/plugin-reviews/tablepress)
   here in the plugin directory. Thanks!

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

The topic ‘[Plugin TablePress] Different IDs in one style’ is closed to new replies.

## Tags

 * [id](https://wordpress.org/support/topic-tag/id/)
 * [List ID](https://wordpress.org/support/topic-tag/list-id/)
 * [table-id](https://wordpress.org/support/topic-tag/table-id/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/plugin-tablepress-different-ids-in-one-style/#post-4418960)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
