Title: Column width and multiple CSS modification
Last modified: April 15, 2022

---

# Column width and multiple CSS modification

 *  Resolved [blantoine](https://wordpress.org/support/users/blantoine/)
 * (@blantoine)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/column-width-and-multiple-css-modification/)
 * Hi Tobias!
 * I have a little problem here, well two problems.
 * 1. I added this code “columnDefs”: [ { “orderable”: false, “targets”: [ 1,2,3]}]
   to the table to limit the sorting to only one column and it worked… until I add
   another CSS code to control the width of the column 2. So I wonder if there is
   something I’m doing wrong and/or how to add multiple CSS modifications to the
   same table.
 * 2. I tried to add
    .tablepress-id-4 .column-2 { width: 1000px !important; } To
   change the width of the column 2, but nothing works. I tried to add only that
   code and tried it with the column 1 instead, still no luck. I wonder if it’s 
   because of the audio file and if this is why, is they’re a solution to that ?
 * I read about the Responsive tables extension, but I’m not sure if this would 
   fix my problem.
 * Thank you for your help and for the plugin 😉
 * Antoine
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcolumn-width-and-multiple-css-modification%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [blantoine](https://wordpress.org/support/users/blantoine/)
 * (@blantoine)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/column-width-and-multiple-css-modification/#post-15562264)
 * Me again,
 * I forgot to double-check something before pressing send to my previous message.
   I changed how I uploaded the audio file and now everything looks great!
 * Sorry for the inconvenience!
 * Antoine
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/column-width-and-multiple-css-modification/#post-15562436)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Good to hear that you were already able to solve this 🙂
 * Best wishes,
    Tobias   P.S.: In case you haven’t, please rate TablePress [here](https://wordpress.org/support/plugin/tablepress/reviews/#new-post)
   in the plugin directory. Thanks!

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

The topic ‘Column width and multiple CSS modification’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/column-width-and-multiple-css-modification/#post-15562436)
 * Status: resolved