Title: Padding and borders
Last modified: August 22, 2016

---

# Padding and borders

 *  Resolved [lanijade](https://wordpress.org/support/users/lanijade/)
 * (@lanijade)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/padding-and-borders/)
 * Hi there, I’ve created a table with your plugin (which is so easy to use by the
   way – thank you!). I’m just having trouble with some CSS and wondering if you
   can help me. This is the page I’m working on: [http://thelittlegreenhouse.net/about-3/](http://thelittlegreenhouse.net/about-3/)
 * Firstly, I want to remove the borders and have tried your CSS to do this but 
   it doesn’t seem to be working for me. This is the CSS that I’m using. Have I 
   done something wrong?
    .tablepress-id-1, .tablepress-id-1 tr, .tablepress-id-
   1 tbody td, .tablepress-id-1 thead th, .tablepress-id-1 tfoot th { border: none;}
 * Secondly, I’d like to reduce the padding on the right hand side of the picture
   and in the cells where the text reside so that the text sits closer to the picture
   and each bullet point sits closer together.
 * Any help would be greatly appreciated. Thank you.
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/padding-and-borders/#post-5441036)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * The reason for this is that your theme adds its own borders in rather aggressive
   manner, you will therefore just have to raise the priority of your code by adding
   the `!important` keyword to the CSS:
 *     ```
       .tablepress-id-1,
       .tablepress-id-1 tr,
       .tablepress-id-1 tbody td,
       .tablepress-id-1 thead th,
       .tablepress-id-1 tfoot th {
         border: none !important;
       }
       ```
   
 * To reduce the padding, you can use something like this:
 *     ```
       .tablepress-id-1 .column-1 {
       	padding: 8px 0;
       }
       .tablepress-id-1 .column-2 {
       	padding-left: 4px;
       }
       ```
   
 * Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Padding and borders’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/padding-and-borders/#post-5441036)
 * Status: resolved