Title: Extra CSS syntax
Last modified: September 1, 2016

---

# Extra CSS syntax

 *  Resolved [gaudy2016](https://wordpress.org/support/users/gaudy2016/)
 * (@gaudy2016)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/extra-css-syntax/)
 * Hi, Tobias,
 * I can make own styling for 1 table. For example bold font in 3th column, alignt
   etc. But what is syntax for the same in extra CSS definition please? I cannot
   find it…
 * Many thanks
 * Dan
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/extra-css-syntax/#post-7471711)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * I’m not exactly sure what you mean. Can you please describe this in in more detail
   and maybe an example or link?
 * Regards,
    Tobias
 *  Thread Starter [gaudy2016](https://wordpress.org/support/users/gaudy2016/)
 * (@gaudy2016)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/extra-css-syntax/#post-7471773)
 * Hi,
 * sure 🙂 It is easy…
 * I have a table with general design, for example here:
    [http://pratelegolfu.cz/jamka-desu/](http://pratelegolfu.cz/jamka-desu/)
 * And I have another group of tables where I need little bit different style for
   all – 4th column bold, aligne center and maybe first 4 column different backgrounfd
   color. I would like use Extra CSS class but I cannot to find right syntax of 
   these points. Can you help me with some example please? Typical tabs are:
    [http://pratelegolfu.cz/kamos-cup/zebricek-kamos-cup/kamos-cup-2016-muzi/](http://pratelegolfu.cz/kamos-cup/zebricek-kamos-cup/kamos-cup-2016-muzi/)
   [http://pratelegolfu.cz/kamos-cup/zebricek-kamos-cup/kamos-cup-2016-zeny/](http://pratelegolfu.cz/kamos-cup/zebricek-kamos-cup/kamos-cup-2016-zeny/)
 * Many thanks,
 * Dan
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/extra-css-syntax/#post-7471807)
 * Hi Dan,
 * thanks for the explanation!
 * You can simply invent an “Extra CSS class” here, like
 *     ```
       tablepress-style-group-1
       ```
   
 * or something like that.
    Then, add that into the “Extra CSS classes” field for
   the desired tables. In the “Custom CSS”, you would then write
 *     ```
       .tablepress-style-group-1 .column-4 {
         background-color: #ff0000;
       }
       ```
   
 * to have this CSS applied to all the tables that have this “Extra CSS class”.
 * Regards,
    Tobias
 *  Thread Starter [gaudy2016](https://wordpress.org/support/users/gaudy2016/)
 * (@gaudy2016)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/extra-css-syntax/#post-7471808)
 * Hi,
 * great, it is what I thing. But I have main problem with right description of 
   definition for bold and align column.
 * Thaks for advice!
 * Dan
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/extra-css-syntax/#post-7471809)
 * Hi,
 * that would be something like
 *     ```
       .tablepress-style-group-1 .column-4 {
         background-color: #ff0000;
         font-weight: bold;
         text-align: right;
       }
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [gaudy2016](https://wordpress.org/support/users/gaudy2016/)
 * (@gaudy2016)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/extra-css-syntax/#post-7471810)
 * Many thanks once more!
 * Dan
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/extra-css-syntax/#post-7471811)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Best wishes,
    Tobias

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

The topic ‘Extra CSS syntax’ 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/)

 * 7 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/extra-css-syntax/#post-7471811)
 * Status: resolved