Title: Column width
Last modified: May 15, 2019

---

# Column width

 *  Resolved [blumeremc](https://wordpress.org/support/users/blumeremc/)
 * (@blumeremc)
 * [7 years ago](https://wordpress.org/support/topic/column-width-46/)
 * Hi Tobias,
 * how can I set the plugin so that the two columns of the tables on the whole page
   all have the same width adapted to the content and the brown lines do not go 
   over the whole width, so in column 1 should after the longest entry something
   then be free space then column 2 with the prices with some clearance and then
   the table closed.
    I hope I have explained it halfway understandable what I want.
 * Thanks and best regards Blume
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcolumn-width-46%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [7 years ago](https://wordpress.org/support/topic/column-width-46/#post-11534563)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * Here, you could add this to the “Custom CSS” textarea on the “Plugin Options”
   screen of TablePress:
 *     ```
       .page-id-3565 .tablepress {
       	width: 50%;
       	margin: 0 auto 1em;
       }
       .page-id-3565 .tablepress .column-1 {
       	width: 80%;
       }
       .page-id-3565 .tablepress .column-2 {
       	width: 20%;
       }
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [blumeremc](https://wordpress.org/support/users/blumeremc/)
 * (@blumeremc)
 * [7 years ago](https://wordpress.org/support/topic/column-width-46/#post-11534643)
 * Hi Tobias,
 * it works great on Desktop! Tanks!
 * However, the table on the smartphone is so unfortunately too narrow, how must
   there be the setting?
 * Thanks and best regards Blume
    -  This reply was modified 7 years ago by [blumeremc](https://wordpress.org/support/users/blumeremc/).
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [7 years ago](https://wordpress.org/support/topic/column-width-46/#post-11535935)
 * Hi,
 * you could make all this apply only on big screens. For that, try changing
 *     ```
       .page-id-3565 .tablepress {
       	width: 50%;
       	margin: 0 auto 1em;
       }
       ```
   
 * to
 *     ```
       @media screen and (min-width: 800px) { 
         .page-id-3565 .tablepress {
       	width: 50%;
       	margin: 0 auto 1em;
         }
       }
       ```
   
 * Regards,
    Tobias

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

The topic ‘Column width’ 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: [7 years ago](https://wordpress.org/support/topic/column-width-46/#post-11535935)
 * Status: resolved