Title: row or column padding
Last modified: August 20, 2016

---

# row or column padding

 *  Resolved [mkpalumbo](https://wordpress.org/support/users/mkpalumbo/)
 * (@mkpalumbo)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/row-or-column-padding/)
 * Hi,
 * I am attempting to use the custom CSS feature of tablepress and while I can use
   it to effect a varity of formating, padding does not seem to take effect. When
   I look at the resulting code with IE’s developer tool, it seems the default wordpress
   code is not being overriden by the custome code. The truth is, I’m trying to 
   affect the padding in just one column but I can’t seem to get it to work regardless
   of how I simplify it.
 * The url of the test table is:
    [http://andoverlandscapingllc.com/wordpress/?page_id=5](http://andoverlandscapingllc.com/wordpress/?page_id=5)
 * And the custom CSS I’m trying is:
 * .tablepress-id-1 .row-2 td {
    background-color: #ff0000; padding: 0; }
 * [http://wordpress.org/extend/plugins/tablepress/](http://wordpress.org/extend/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/row-or-column-padding/#post-3616548)
 * Hi,
 * thanks for your post, and sorry for the trouble!
 * In fact, your “Custom CSS” is overriding the TablePress default CSS, but it is
   not overriding the theme’s CSS for tables. To achieve that, just prepend your
   selector with the `#content` element, i.e.
 *     ```
       #content .tablepress-id-1 .row-2 td {
         background-color: #ff0000;
         padding: 0;
       }
       ```
   
 * (On a side note: IE’s developer tools are not really that good. Unless you are
   investigating specific IE problems, I recommend to switch to Google Chrome and
   use the much better Chrome developer tools.)
 * Regards,
    Tobias
 *  Thread Starter [mkpalumbo](https://wordpress.org/support/users/mkpalumbo/)
 * (@mkpalumbo)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/row-or-column-padding/#post-3616556)
 * Thanks. I try that. I don’t use IE developer tools for anything else but idenfifying
   tags, CSS, and their respective files. Sometimes I use firebug too.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/row-or-column-padding/#post-3616561)
 * Hi,
 * ah, sorry: Just noticed that there was a typo in my code above (a `.` was in 
   the wrong position). I just fixed that, so please try again with the code from
   above, if it was not yet working.
 * Regards,
    Tobias

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

The topic ‘row or column padding’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/row-or-column-padding/#post-3616561)
 * Status: resolved