Title: image size and table width
Last modified: August 30, 2016

---

# image size and table width

 *  Resolved [toddcpg](https://wordpress.org/support/users/toddcpg/)
 * (@toddcpg)
 * [11 years ago](https://wordpress.org/support/topic/image-size-and-table-width/)
 * Page – [http://artdeco.org/explore/registry](http://artdeco.org/explore/registry)
 * This is a 2 part question.
 * 1. The first column of this table has an image. Some how the size was bigger 
   and now is showing smaller. I am not sure how to get it back.
    I did try a bunch
   of other things like .tablepress img { max-width: 100%; }
 * or .tablepress-id-1 .column-1 img {
    width: 150px !important; }
 * nothing worked.
 * 2. Also I need the table to fit, so I do not have to scroll left and right.
 * Here is the below is the custom css we are using now.
    .tablepress thead th {
   font-size: 14px; color: #000000 !important; }
 * .tablepress td {
    font-size: 12px !important; color: #000000 !important; }
 * .tablepress .odd td {
    background-color: #E5E5E5; }
 * .tablepress .even td {
    background-color: #F0F0F0; }
 * .tablepress thead th,
    .tablepress tfoot th { background-color: #E5E5E5; font-
   size: 14px; }
 * .tablepress-id-1 tbody td {
    font-size: 12px !important; color: #000000 !important;}
 * .tablepress-id-1 .column-1 {
    width: 160px !important; }
 * .tablepress tbody td,
    .tablepress thead th, .tablepress tfoot th { padding: 
   5px; }
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years ago](https://wordpress.org/support/topic/image-size-and-table-width/#post-6409189)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * First, let’s reduce the width of the table. For that, please change the text 
   of column 10 in row 195 from
 *     ```
       http://www.kaufmanastoria.com/our-legacy/
       ```
   
 * to a real link. That text is otherwise taking up a lot of space.
    Then, we should
   reduce the padding in the table, e.g. by replacing
 *     ```
       .tablepress tbody td,
       .tablepress thead th,
       .tablepress tfoot th {
       	padding: 5px;
       }
       ```
   
 * with
 *     ```
       .tablepress tbody td {
       	padding: 5px !important;
       }
       .tablepress thead th,
       .tablepress tfoot th {
       	padding: 5px 20px 5px 5px !important;
       }
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [toddcpg](https://wordpress.org/support/users/toddcpg/)
 * (@toddcpg)
 * [11 years ago](https://wordpress.org/support/topic/image-size-and-table-width/#post-6409285)
 * Great that work.
 * But, The First row does width does not match the columns below.
 * I added some css to make the first column width more even, but i am assuming 
   there some way to have all the columns match.
 * I added
 *     ```
       .tablepress-id-1 .row-1 .column-1 {
       	width: 135px !important;
       }
       ```
   
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years ago](https://wordpress.org/support/topic/image-size-and-table-width/#post-6409286)
 * Hi,
 * that widths problem is related to the Horizontal Scrolling feature, which unfortunately
   has problems detecting the columns properly.
    Can you therefore please try again
   after turning that checkbox off?
 * If you want to keep the horizontal scrolling, you could then try this alternative:
   [https://wordpress.org/support/topic/responsive-tables-scroll-only?replies=6#post-5511954](https://wordpress.org/support/topic/responsive-tables-scroll-only?replies=6#post-5511954)
 * Regards,
    Tobias
 *  Thread Starter [toddcpg](https://wordpress.org/support/users/toddcpg/)
 * (@toddcpg)
 * [11 years ago](https://wordpress.org/support/topic/image-size-and-table-width/#post-6409287)
 * I turned off that check box and it works now.
 * Thank you for your time and help.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years ago](https://wordpress.org/support/topic/image-size-and-table-width/#post-6409288)
 * 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](http://wordpress.org/support/view/plugin-reviews/tablepress)
   here in the plugin directory. Thanks!

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

The topic ‘image size and table 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/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/image-size-and-table-width/#post-6409288)
 * Status: resolved