Title: CSS not taking affect
Last modified: April 20, 2018

---

# CSS not taking affect

 *  Resolved [philipt18](https://wordpress.org/support/users/philipt18/)
 * (@philipt18)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/css-not-taking-affect/)
 * I modified a table by adding a few long comments to the third column, and it 
   expanded the third column out and squished the other two. I tried to fix this
   with the following css in the Plug-in Options page:
 *     ```
       .tablepress-id-8 .column-3 .column-2 .column-1 {
       	width: 33%;
       }
       ```
   
 * but nothing changed. I tried putting the same CSS where I put my other custom
   css, but no change. I tried setting it to 200px instead of 33% but it’s the same.
   Any idea what I’m doing wrong? Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcss-not-taking-affect%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [philipt18](https://wordpress.org/support/users/philipt18/)
 * (@philipt18)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/css-not-taking-affect/#post-10201703)
 * Strange, but I set it to just column 3 and it worked, although I now want to 
   adjust the other two columns, but can’t. Is it possible it has something to do
   with settings for the first two columns in another table? This is my complete
   css:
 *     ```
       .tablepress-id-7 .column-2 .column-1 {
       	width: 110px;
       }
   
       .tablepress-id-8 .column-3 {
       	width: 33%;
       }
       ```
   
 * If I add in column-1, for example, it goes back to not recognizing any CSS (and
   the third column expands).
    -  This reply was modified 8 years, 1 month ago by [philipt18](https://wordpress.org/support/users/philipt18/).
 *  Thread Starter [philipt18](https://wordpress.org/support/users/philipt18/)
 * (@philipt18)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/css-not-taking-affect/#post-10201748)
 * I was able to get what I want by using:
 *     ```
       .tablepress-id-8 td {
       	width: 33%;
       }
       ```
   
 * but that’s only because I want all columns the same. I still don’t understand
   why I cannot set individual columns, and if it has to do with settings from the
   last table.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/css-not-taking-affect/#post-10202754)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * The reason for this simply is that you can’t more CSS commands like that. The
   proper syntax would be
 *     ```
       .tablepress-id-8 .column-1,
       .tablepress-id-8 .column-2,
       .tablepress-id-8 .column-3 {
       	width: 33%;
       }
       ```
   
 * (A comma-separated list of the full selectors.)
 * Regards,
    Tobias
 *  Thread Starter [philipt18](https://wordpress.org/support/users/philipt18/)
 * (@philipt18)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/css-not-taking-affect/#post-10205839)
 * Thank you. You might add that to the documentation as an example.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/css-not-taking-affect/#post-10206370)
 * Hi,
 * good point, I should indeed extend that example in the FAQ!
 * Best wishes,
    Tobias

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

The topic ‘CSS not taking affect’ 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/)

## Tags

 * [column width](https://wordpress.org/support/topic-tag/column-width/)
 * [css](https://wordpress.org/support/topic-tag/css/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/css-not-taking-affect/#post-10206370)
 * Status: resolved