Title: Padding in Table
Last modified: August 21, 2016

---

# Padding in Table

 *  Resolved [rsandoval02](https://wordpress.org/support/users/rsandoval02/)
 * (@rsandoval02)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/padding-in-table/)
 * Hi,
    The padding in all the cells of my table are too big. I tried to change 
   it in the custom CSS area, but no changes occur. I believe the theme is overriding
   it somewhere. How can I change the padding for all cells in my table? Also, the
   spacing between lines of text in the cell are double spaced right now. How/where
   do I make that change. [http://artdeco.org/art-deco-buildings-list-2](http://artdeco.org/art-deco-buildings-list-2)
   The theme I am using is Tempera.
 * Many Thanks,
    Rosannah
 * [http://wordpress.org/plugins/tablepress/](http://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, 4 months ago](https://wordpress.org/support/topic/padding-in-table/#post-4527994)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * You are correct, this is indeed influenced by your theme. To override those styles,
   please try using this “Custom CSS”:
 *     ```
       #content .tablepress th,
       #content .tablepress td {
         padding: 8px;
       }
       #content .dataTables_wrapper .sorting,
       #content .dataTables_wrapper .sorting_asc,
       #content .dataTables_wrapper .sorting_desc {
         padding-right: 20px;
       }
       ```
   
 * The `#content` basically gives this CSS code a higher priority of the theme CSS,
   by also using a CSS ID selector.
 * Regards,
    Tobias
 *  Thread Starter [rsandoval02](https://wordpress.org/support/users/rsandoval02/)
 * (@rsandoval02)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/padding-in-table/#post-4528001)
 * Thanks! Where do I paste this?
    In the Tablepress plugin custion CSS area or 
   in the Theme style editor – and if the latter does it go under the Content portion?
 * Thanks,
    Rosannah
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/padding-in-table/#post-4528003)
 * Hi,
 * just paste it into the “Custom CSS” textarea on the “Plugin Options” screen of
   TablePress.
    That way, it will not be altered by theme updates and you have all
   CSS that affects TablePress tables in one place.
 * Regards,
    Tobias

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

The topic ‘Padding in Table’ 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

 * [line spacing](https://wordpress.org/support/topic-tag/line-spacing/)
 * [padding](https://wordpress.org/support/topic-tag/padding/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/padding-in-table/#post-4528003)
 * Status: resolved