Title: Row css selector
Last modified: August 8, 2023

---

# Row css selector

 *  Resolved [prokops](https://wordpress.org/support/users/prokops/)
 * (@prokops)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/row-css-selector/)
 * Hi! In the free plugin, my rows have tr selectors “odd” or “even”. I need to 
   be able to specify special css selectors for certain rows. Is this possible in
   the free or pro plugin?

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

 *  [Support Ole](https://wordpress.org/support/users/trsupsys/)
 * (@trsupsys)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/row-css-selector/#post-16991901)
 * Hi, [@prokops](https://wordpress.org/support/users/prokops/)
 * Thank you for contacting us!
 * If you are talking about an option, there is no such option. If it is possible
   to select certain rows with a selector, then of course.
 * To do this, you need to learn a little about CSS selectors. Here is one example.
 * > #supsystic-table-4 tr:nth-child(even) {
   > background-color: #f2f2f2
   > }
 * Best regards,
 * Ole and Supsystic Team
 *  Thread Starter [prokops](https://wordpress.org/support/users/prokops/)
 * (@prokops)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/row-css-selector/#post-16992020)
 * Hi Ole
 * I am trying to make general css rules targeting a css selectors. The tables are
   different so I cannot create even/odd rules as they are too imprecise. I would
   like to be able to specify css class for certain rows or target rows by the modifications
   made in editor.
 * All the changes I try to make in the editor all target the td cells and not the
   tr container.
 * Example: I have certain rows that have two columns and are merged. I would like
   them to have “merged” css class or some other class indicating that the rows 
   are merged. In stead, the editor css makes the first cell colspan=2 and hides
   the other. The tr itself does not get any new css class. Same with background
   color, coloring a row does not actually color the tr. It colors the child td’s
   in the tr, so we can again not css target the tr.
 * I could target the “height” of each tr if I could specify the height. But the
   editor only offers to pull the height with mouse without specifying what the 
   final height is.
 * In short, please consider allowing users to specify css class of rows, allow 
   row changes in editor to reflect as css classes on the row and not the tds and
   properly classify the td rows with ids. That would be a great improvement to 
   your nice plugin .)

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

The topic ‘Row css selector’ is closed to new replies.

 * ![](https://ps.w.org/data-tables-generator-by-supsystic/assets/icon-256x256.png?
   rev=1158691)
 * [Data Tables Generator by Supsystic](https://wordpress.org/plugins/data-tables-generator-by-supsystic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/data-tables-generator-by-supsystic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/data-tables-generator-by-supsystic/)
 * [Active Topics](https://wordpress.org/support/plugin/data-tables-generator-by-supsystic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/data-tables-generator-by-supsystic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/data-tables-generator-by-supsystic/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [data table](https://wordpress.org/support/topic-tag/data-table/)
 * [selector](https://wordpress.org/support/topic-tag/selector/)

 * 2 replies
 * 2 participants
 * Last reply from: [prokops](https://wordpress.org/support/users/prokops/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/row-css-selector/#post-16992020)
 * Status: resolved