Title: Centre Table
Last modified: August 31, 2016

---

# Centre Table

 *  Resolved [rynman47](https://wordpress.org/support/users/rynman47/)
 * (@rynman47)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/centre-table-1/)
 * Hi Tobias
 * I’m trying to adjust the width of my table by modifying the column widths but
   no luck. It always remains the same. Here’s what I’ve tried:
 *     ```
       .tablepress-id-1 .column-1 {
       	width: 50px;
       }
   
       .tablepress-id-1 .column-2 {
       	width: 50px;
       }
   
       .tablepress-id-1 .column-1 {
       	padding: 1px;
       }
   
       .tablepress-id-1 .column-2 {
       	padding: 1px;
       }
   
       .tablepress-id-1 {
       	width: auto;
       	margin: 0 auto 1em;
       }
       ```
   
 * Sorry I can’t link you to the table as the content is not published yet.
 * Ryan
 * [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)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/centre-table-1/#post-7123894)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Unfortunately, I can’t find out why this is not working without actually seeing
   the page with the table (so that I can take a look at it with the browser’s developer
   tools).
 * Therefore, it would be great if you could either publish the page with the table
   or maybe sent me a link via email (the address is in the main plugin file “tablepress.
   php”).
 * Regards,
    Tobias
 *  Thread Starter [rynman47](https://wordpress.org/support/users/rynman47/)
 * (@rynman47)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/centre-table-1/#post-7124098)
 * [http://www.baseballogy.com/?p=50](http://www.baseballogy.com/?p=50)
 * Password: bball
 * Thanks mate!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/centre-table-1/#post-7124100)
 * Hi,
 * thanks for the link! Now I can see what’s going on. Basically, your theme is 
   also using CSS code for tables so that we need to be a bit more specific with
   our “Custom CSS”.
 * In this case, it should be sufficient to extend that last block of CSS to
 *     ```
       .tablepress-id-1 {
       	width: auto !important;
       	margin: 0 auto 1em;
       }
       ```
   
 * Can you please try that?
 * Regards,
    Tobias

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

The topic ‘Centre Table’ 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: [10 years, 2 months ago](https://wordpress.org/support/topic/centre-table-1/#post-7124100)
 * Status: resolved