Title: Column width
Last modified: March 21, 2020

---

# Column width

 *  Resolved [souriceau44](https://wordpress.org/support/users/souriceau44/)
 * (@souriceau44)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/column-width-52/)
 * Hello
 * I want to define a specific width (200 px) of a column in a table.
    I don’t have
   the “column width” line in the form I think I use line “CSS class (es)” in the
   column parameters but I don’t know how to write it for example I wrote column
   width: 300px but it doesn’t matter can you please help me and tell me what to
   write.
 * thank you in advance

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

 *  Plugin Author [wpDataTables](https://wordpress.org/support/users/wpdatatables/)
 * (@wpdatatables)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/column-width-52/#post-12572580)
 * Hello again.
 * Column width option (in column settings) is only available when you enable “Limit
   Table Width” in the **Display** tab above the table. This option becomes visible
   when you disable the **Scrollable** slider.
 * Unfortunately, if you need to define custom column width, the table cannot be
   horizontally scrollable.
 * The “Custom class” field you see in the column settings is actually the field
   where you define the class name (for example “wdth”), then you need to define
   that class in **Custom JS and CSS**/**Custom CSS** field. Something like:
 * `
    .wdth { width: 150px !important; }
 * Kind regards.
 *  Thread Starter [souriceau44](https://wordpress.org/support/users/souriceau44/)
 * (@souriceau44)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/column-width-52/#post-12572792)
 * Hello
    Thank you for the details. I will keep the scrolling horizontal and leave
   the width of the identical basic columns.
 * have a good day
 *  Thread Starter [souriceau44](https://wordpress.org/support/users/souriceau44/)
 * (@souriceau44)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/column-width-52/#post-12572961)
 * thank you

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

The topic ‘Column width’ is closed to new replies.

 * ![](https://ps.w.org/wpdatatables/assets/icon-128x128.gif?rev=3010404)
 * [wpDataTables - WordPress Data Table, Dynamic Tables & Table Charts Plugin](https://wordpress.org/plugins/wpdatatables/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpdatatables/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpdatatables/)
 * [Active Topics](https://wordpress.org/support/plugin/wpdatatables/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpdatatables/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpdatatables/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [souriceau44](https://wordpress.org/support/users/souriceau44/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/column-width-52/#post-12572961)
 * Status: resolved