Title: Changing column width
Last modified: July 22, 2020

---

# Changing column width

 *  Resolved [hsysgrp](https://wordpress.org/support/users/hsysgrp/)
 * (@hsysgrp)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/changing-column-width-4/)
 * .tablepress-id-5 .column-1 {
    width: 100px; } Have tried various snippets [https://aauwbranch.com/?page_id=9&preview_id=9&preview_nonce=359cab861f&preview=true](https://aauwbranch.com/?page_id=9&preview_id=9&preview_nonce=359cab861f&preview=true)
 * The tables pay no attention to the css, what am I missing?
    Thank you.

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/changing-column-width-4/#post-13157335)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * What you actually want is to turn off the automatic line breaks here. Please 
   try this CSS:
 *     ```
       .tablepress th,
       .tablepress td {
         word-break: normal;
       }
       ```
   
 * Setting the widths will not create that effect, as the table is too wide for 
   the screen already.
 * Regards,
    Tobias
 *  Thread Starter [hsysgrp](https://wordpress.org/support/users/hsysgrp/)
 * (@hsysgrp)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/changing-column-width-4/#post-13157384)
 * thank you for your reply.
    I intended to make some of the columns smaller to 
   transfer the space to other columns. If I do that first, will it give me a space
   bank to transfer? I wasn’t sure if I had the syntax corecct, since nothing happened.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/changing-column-width-4/#post-13158914)
 * Hi,
 * the problem here is that your table (in total) is already wider than the available
   screen space (which is why it is scrollable). This then also means that all columns
   are at the minimum width that their content allows (basically, they are shrunk
   so that the longest word in the column still fits). You will however not be able
   to reduce the width beyond that – except if you introduce manual line breaks,
   or add hyphenation to long words.
 * The suggestion from above will at least make the text readable again (like the
   content in the first column). It will not help with making everything fit on 
   the page without scroll – that’s just not possible with the current content of
   the table.
 * Regards,
    Tobias

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

The topic ‘Changing 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: [5 years, 10 months ago](https://wordpress.org/support/topic/changing-column-width-4/#post-13158914)
 * Status: resolved