Title: change column width CSS not working
Last modified: August 21, 2016

---

# change column width CSS not working

 *  Resolved [tahvan](https://wordpress.org/support/users/tahvan/)
 * (@tahvan)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/change-column-width-css-not-working/)
 * I am trying to change the column width using the instructions you provided on
   your Support website ([http://tablepress.org/faq/column-widths/](http://tablepress.org/faq/column-widths/)).
   The table width is too wide – the table expands to fit the full width of the 
   page. If there is a 1-column table, that column stretches across the whole page.
 * You provided 2 custom CSS options: change the width or change the padding. Neither
   option worked for me. I looked through the forum and noticed another user had
   the same problem (but he had an image). You said his problem was the image. My
   page does not have an image.
 * Can you help me figure out the problem? Here is an example of where the problem
   occurs: [http://bit.ly/Ku71p7](http://bit.ly/Ku71p7)
 * Using Tablepress version 1.3
 * Thanks very much.
 * [http://wordpress.org/plugins/tablepress/](http://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)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/change-column-width-css-not-working/#post-4477722)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * I think all that you need to do here is to tell the table to not stretch to the
   full width, but to just take the width that the content needs:
 *     ```
       .tablepress-id-123 {
         width: auto;
       }
       ```
   
 * After that, the CSS for the individual columns should also show results.
 * Regards,
    Tobias
 *  Thread Starter [tahvan](https://wordpress.org/support/users/tahvan/)
 * (@tahvan)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/change-column-width-css-not-working/#post-4477744)
 * This works perfectly. Thanks very much for your speedy reply!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/change-column-width-css-not-working/#post-4477745)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Best wishes,
    Tobias

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

The topic ‘change column width CSS not working’ 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: [12 years, 4 months ago](https://wordpress.org/support/topic/change-column-width-css-not-working/#post-4477745)
 * Status: resolved