• Resolved finstead

    (@finstead)


    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 to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    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

    (@finstead)

    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

    (@tobiasbg)

    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 for details.

    Regards,
    Tobias

    Thread Starter finstead

    (@finstead)

    Hi Tobias,

    Thank you.

    Best regards

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    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 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.