Title: Cellpadding
Last modified: August 22, 2016

---

# Cellpadding

 *  Resolved [underdog_32](https://wordpress.org/support/users/underdog_32/)
 * (@underdog_32)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/cellpadding/)
 * Hi!
 * I am trying to make the 2 social icons in this post closer together. Per your
   website I tried to change the cellpadding. I’m not sure what is going on.
 * The page I’m working on is [http://stjoewedding.com/thanks-for-subscribing/](http://stjoewedding.com/thanks-for-subscribing/)
 * [http://stjoewedding.com/thanks-for-subscribing/](http://stjoewedding.com/thanks-for-subscribing/)
 * The code I’m using is:
 * .tablepress-id-28 .column-1 {
    padding: 0; }
 * .tablepress-id-28 .column-2 {
    padding: 0; }
 * Removing the border didn’t work either…
 * .tablepress-id-28,
    .tablepress-id-28 tr, .tablepress-id-28 tbody td, .tablepress-
   id-28 thead th, .tablepress-id-28 tfoot th { border: none; }
 * Thoughts?
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/cellpadding/#post-5584939)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * To be honest, you shouldn’t really need tables for this. Tables should only be
   used for presenting tabular data, but not for such layout purposes. Some regular
   CSS in your theme should be fine for that.
 * Now, for you particular issues: You’ll probably have to set the column widths
   of the table, e.g. with
 *     ```
       .tablepress-id-28 {
       	width: auto !important;;
       }
       .tablepress-id-28 td {
         width: 200px;
       }
       ```
   
 * Removing the border is not working at the moment, as your theme is also adding
   one. We’ll therefore have to raise the priority of the “Custom CSS”. For that,
   just change the line
 *     ```
       border: none;
       ```
   
 * to
 *     ```
       border: none !important;
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [underdog_32](https://wordpress.org/support/users/underdog_32/)
 * (@underdog_32)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/cellpadding/#post-5584956)
 * Thanks!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/cellpadding/#post-5584959)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](https://wordpress.org/support/view/plugin-reviews/tablepress)
   here in the plugin directory. Thanks!

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

The topic ‘Cellpadding’ 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: [11 years, 5 months ago](https://wordpress.org/support/topic/cellpadding/#post-5584959)
 * Status: resolved