• Resolved sparks2326

    (@sparks2326)


    I’ve got a tablepress shortcode inside of a div, and it appears as though there’s padding on top that’s kicking the text down so that it hangs just below the div.

    I’m using the following custom CSS commands in Plugin Options for tbody td

    padding: none;
    text-align: center;

    I’ve tried using a -5px margin-top and also -5px padding-top, but neither changes the placement of the text. When I remove the tablepress code and just place the text itself in the div, it sits where I want it to…so it seems something in tablepress is kicking the text down but I can’t figure out what it is.

    Can you help?

    https://ww.wp.xz.cn/plugins/tablepress/

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

    (@tobiasbg)

    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 sparks2326

    (@sparks2326)

    Unfortunately, I can’t post the URL because it’s an in-development site that I can’t post publicly yet. Is there a way I can send it to you privately?

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    sure, you can send me an email. The address is in the main plugin file “tablepress.php”.

    Regards,
    Tobias

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    just for everybody reading this thread: We just had to change the

    padding: none;

    to

    padding: 0;

    Best wishes,
    Tobias

    Thread Starter sparks2326

    (@sparks2326)

    Thanks again, Tobias!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Always glad when I can help!

    Best wishes,
    Tobias

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

The topic ‘Problems with padding’ is closed to new replies.