Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The reason for this basically us the HTML code, as it contains line breaks. Those line breaks are converted to HTML <br /> codes automatically, which create that extra space.

    So, one way to fix this would be to simply remove all line breaks from the PayPal HTML code (so that the code would stand in one line).

    As you are probably going to add more such buttons, the quicker way could be to simply turn off that conversion of the line breaks. For that, just extend the used Shortcode to

    [table id=2 convert_line_breaks=false /]

    You will then probably also want to remove that gray border around the PayPal button. For that, just add this to the “Custom CSS” of TablePress:

    .tablepress-id-2 input {
        border: none;
    }

    Regards,
    Tobias

    Thread Starter joehark

    (@joehark)

    Good news and bad news

    But first – thank you for your help.

    Please visit the page again

    https://buildinghosting.com/fully-hosting/

    In the first row the cell is properly formatted. To do that I removed all the line breaks before pasting the PayPal code.

    The 2nd row is still misbehaving even though I am using edied short code per your advice.

    FWIW – and I again thank you – the border around the PayPal but is gone using your Custom CSS. You will notice I also edited your default Custom CSS to change the displayed width of the table.

    Any suggestions on how to avoid the need to manually remove the line breaks will be appreciated.

    Thread Starter joehark

    (@joehark)

    WAIT – it’s now working. It must have been a cache issue.

    Thanks for the help.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘cell content not to top’ is closed to new replies.