Title: Custom CSS code not working
Last modified: August 21, 2016

---

# Custom CSS code not working

 *  Resolved [maxlaxoc_scott](https://wordpress.org/support/users/maxlaxoc_scott/)
 * (@maxlaxoc_scott)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/custom-css-code-not-working/)
 * I am trying to change the padding in a table. I copied and pasted the CSS code
   for this in the Custom CSS box under plugin options. The changes are not occurring.
   I am using Headway Themes. Any suggestions?
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/custom-css-code-not-working/#post-4722370)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Can you please post a link to the page with the table where this problem happens,
   so that I can take a direct look? Thanks!
 * Regards,
    Tobias
 *  Thread Starter [maxlaxoc_scott](https://wordpress.org/support/users/maxlaxoc_scott/)
 * (@maxlaxoc_scott)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/custom-css-code-not-working/#post-4722510)
 * Here is the link to the page: [http://www.maxlaxoc.com/boys-high-school-top-20/](http://www.maxlaxoc.com/boys-high-school-top-20/)
 * This is what I put into custom CSS:
 * .tablepress-id-15 tr {
    height: 80px; }
 * .tablepress-id-16 tr {
    height: 80px; }
 * Thanks for your time.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/custom-css-code-not-working/#post-4722523)
 * Hi,
 * thanks for the link!
 * Setting the height for the rows is not possible like, unfortunately, due to how
   CSS works on tables.
    You’ll instead have to increase the height of the cells:
 *     ```
       .tablepress-id-15 td,
       .tablepress-id-15 th {
         height: 80px;
       }
   
       .tablepress-id-16 td,
       .tablepress-id-16 th {
         height: 80px;
       }
       ```
   
 * The alternative would be to increase the padding, e.g. with
 *     ```
       .tablepress-id-15 td,
       .tablepress-id-15 th {
         padding-top: 20px;
         padding-bottom: 20px;
       }
   
       .tablepress-id-16 td,
       .tablepress-id-16 th {
         padding-top: 20px;
         padding-bottom: 20px;
       }
       ```
   
 * Regards,
    Tobias

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

The topic ‘Custom CSS code not working’ 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: [12 years, 2 months ago](https://wordpress.org/support/topic/custom-css-code-not-working/#post-4722523)
 * Status: resolved