Title: Feature Request &#8211; Class on table cells
Last modified: August 21, 2016

---

# Feature Request – Class on table cells

 *  Resolved [NFWRo](https://wordpress.org/support/users/nfwro/)
 * (@nfwro)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/feature-request-class-on-table-cells/)
 * Hi there – this is just the best table plugin!
 * I have one feature request though, is there any chance in the future of adding
   the capability to set classes on table cells? I have a table that requires different
   colour cells to denote different states. I understand that this could be done
   with a bit of html within the cell, but for my customers sake, I’m trying to 
   avoid the need to put html in.
 * Thanks
 * [http://wordpress.org/plugins/tablepress/](http://wordpress.org/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/feature-request-class-on-table-cells/#post-4185910)
 * Hi,
 * thanks for your post!
 * Adding classes is not that easy, especially as there’s no real way to add a user
   interface for this. It would just make everything very complicated and confusing,
   if there would be another input field for a CSS class field, for example.
    So,
   unless I find a really good solution, I don’t think that this is possible in 
   the future 🙁
 * However, maybe the Extension that is described at [http://wordpress.org/support/topic/highlight-a-row-based-on-value?replies=10#post-4524759](http://wordpress.org/support/topic/highlight-a-row-based-on-value?replies=10#post-4524759)
   is maybe helpful for you?
 * Regards,
    Tobias
 *  Thread Starter [NFWRo](https://wordpress.org/support/users/nfwro/)
 * (@nfwro)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/feature-request-class-on-table-cells/#post-4186024)
 * Hi Tobias
    Speedy response as usual. 🙂
 * I can’t say I’m surprised, but it was worth the question.
 * Thanks for the link, but I’m afraid that colouring the row is not enough. The
   application in this instance requires every cell to be coloured with one of three
   states and that could be multiple colours across rows. I’m afraid I can’t point
   you to the page to show what I mean because it in a closed club members area.
 * I shall just have to educate them in the use of <span>!
 * Thanks for your time.
 * Regards
    Ro
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/feature-request-class-on-table-cells/#post-4186061)
 * Hi,
 * yes, if multiple cells per row need coloring, that Extension is not that helpful.
   Now, I could however imagine a way to extend that Extension to also allow individual
   cell styling. However, I do not have that available yet, and as it would be quite
   some work, I can not offer it as free support. If a professional solution would
   be an option for you, please send me an email (the address is in the main plugin
   file “tablepress.php”, so that we can discuss details).
    Otherwise, that `<span
   >` solution will of course also work fine.
 * Regards,
    Tobias
 *  Thread Starter [NFWRo](https://wordpress.org/support/users/nfwro/)
 * (@nfwro)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/feature-request-class-on-table-cells/#post-4186064)
 * I appreciate that something like that could not be done on free support and the
   offer of doing something otherwise. However, this is for a local swimming club
   and, since it only affects one page, I think at this stage, the `<span>` option
   will have to do.
 * Thanks for the wonderful support.
 * Ro
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/feature-request-class-on-table-cells/#post-4186065)
 * Hi,
 * sure, that makes perfect sense! The `<span>` option is also not that hard to 
   use.
 * 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 5 replies - 1 through 5 (of 5 total)

The topic ‘Feature Request – Class on table cells’ 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

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

 * 5 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/feature-request-class-on-table-cells/#post-4186065)
 * Status: resolved