Title: Borders row css workaround?
Last modified: August 21, 2016

---

# Borders row css workaround?

 *  Resolved [boborg](https://wordpress.org/support/users/boborg/)
 * (@boborg)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/borders-row-css-workaround/)
 * I am using borders for tablepress table. I have added a spacer row with colspan
   to make the table more readable. For avoiding borders on that row I have set 
   up the css:
 * .tablepress-id-75 .row-3 td
    { border: 0px!important; }
 * Works fine. But later on I am displaying some specific rows from the same table
   again using the hide_rows option. And of course now row 3 in this version of 
   the table (same id so same css) has no borders when I actually do want borders.
 * Other than making a new table for this purpose with the same data anyone got 
   any clever idea to work around this?
 * [http://wordpress.org/plugins/tablepress/](http://wordpress.org/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/borders-row-css-workaround/#post-4081905)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * Yes! 🙂 You could use the `extra_css_classes` Shortcode parameter in the Shortcode
   of the table where you want the border removed.
 * Use e.g.
 *     ```
       [table id=75 extra_css_classes="tablepress-id-75-no-border" /]
       ```
   
 * and then change the “Custom CSS” to
 *     ```
       .tablepress-id-75-no-border .row-3 td {
         border: 0px!important;
       }
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [boborg](https://wordpress.org/support/users/boborg/)
 * (@boborg)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/borders-row-css-workaround/#post-4081913)
 * Amazing Tobias,
 * Will try that.
 *  Thread Starter [boborg](https://wordpress.org/support/users/boborg/)
 * (@boborg)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/borders-row-css-workaround/#post-4082035)
 * And it works just fine. This plugin is really a favorite of mine…
 * Think I will be donating again soon 🙂
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/borders-row-css-workaround/#post-4082097)
 * Hi,
 * great to hear that this helped. Thanks for the confirmation! 🙂
 * 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 4 replies - 1 through 4 (of 4 total)

The topic ‘Borders row css workaround?’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/borders-row-css-workaround/#post-4082097)
 * Status: resolved