Title: Divi Theme + Tablepress width
Last modified: March 8, 2022

---

# Divi Theme + Tablepress width

 *  Resolved [finstead](https://wordpress.org/support/users/finstead/)
 * (@finstead)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/divi-theme-tablepress-width/)
 * Hi Tobias,
 * Thank you for creating and sharing the tablepress plugin.
 * I am using the Divi theme with tablepress, on the tablet view the table is a 
   little wide, contacted Elegant themes and they said the issue is to
    decrease
   the width of cells or remove the spacing.
 * I am not sure how to got about this, would you please help.
 * Best regards
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdivi-theme-tablepress-width%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/divi-theme-tablepress-width/#post-15439297)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * I recommend to add this to the “Custom CSS” textarea on the “Plugin Options” 
   screen of TablePress:
 *     ```
       .entry-content .tablepress th,
       .entry-content .tablepress td {
        padding: 6px;
       }
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [finstead](https://wordpress.org/support/users/finstead/)
 * (@finstead)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/divi-theme-tablepress-width/#post-15439599)
 * Hi Tobias,
 * That worked.
 * Thank you, I appreciate you taking time to help solve this issue and share your
   knowledge.
 * I have a follow up question is there any way to add padding
    to the row, top 
   and bottom to give the content in the rows a little breathing room and still 
   keep the above changes?
 * Thank you again Sir.
 * Best regards
    Al`
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/divi-theme-tablepress-width/#post-15440313)
 * Hi,
 * then maybe use
 *     ```
       .entry-content .tablepress th,
       .entry-content .tablepress td {
         padding: 12px 6px;
       }
       ```
   
 * The first number is the top and bottom padding, the second number is the left
   and right padding. You could also specify three or even four values, see [https://www.w3schools.com/cssref/pr_padding.asp](https://www.w3schools.com/cssref/pr_padding.asp)
   for details.
 * Regards,
    Tobias
 *  Thread Starter [finstead](https://wordpress.org/support/users/finstead/)
 * (@finstead)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/divi-theme-tablepress-width/#post-15441858)
 * Hi Tobias,
 * Thank you.
 * Best regards
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/divi-theme-tablepress-width/#post-15443505)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * 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 5 replies - 1 through 5 (of 5 total)

The topic ‘Divi Theme + Tablepress width’ 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/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/divi-theme-tablepress-width/#post-15443505)
 * Status: resolved