Title: Column width/alignment
Last modified: November 4, 2022

---

# Column width/alignment

 *  Resolved [gokh](https://wordpress.org/support/users/gokh/)
 * (@gokh)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/column-width-alignment/)
 * Hi,
 * How can I set the column width or padding value? I want the last column of the
   table to move closer to the edge. Or I want all columns to shift/zoom to the 
   right.
 * [https://prnt.sc/0SETeMHm3RCg](https://prnt.sc/0SETeMHm3RCg)
 * Thank you..

Viewing 1 replies (of 1 total)

 *  Plugin Support [Syed Numan](https://wordpress.org/support/users/annuman/)
 * (@annuman)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/column-width-alignment/#post-16184971)
 * Hello [@gokh](https://wordpress.org/support/users/gokh/),
 * From the column settings, you can set the maximum column width. [See Screenshot](https://prnt.sc/AO4_9k0btBMp)
 * There is another way to use custom CSS. Use the following CSS to the table custom
   CSS section and change the number based on the column index number(it starts 
   from 0).
 *     ```
       col.ninja_column_2 {
           max-width: 200px;
       }
       ```
   
 * Thank You

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/ninja-tables/assets/icon-256x256.png?rev=3337819)
 * [Ninja Tables – Easy Data Table Builder](https://wordpress.org/plugins/ninja-tables/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ninja-tables/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ninja-tables/)
 * [Active Topics](https://wordpress.org/support/plugin/ninja-tables/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ninja-tables/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ninja-tables/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Syed Numan](https://wordpress.org/support/users/annuman/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/column-width-alignment/#post-16184971)
 * Status: resolved