• Resolved cinnamonstix

    (@cinnamonstix)


    So I have been working on converting a site I manage over to WP and it has been going smooth until I hit the Pay Pal Buttons. Now my smooth sailing has turned nightmare as I fight to get these button HTML codes to cooperate. The first page I was able to fix the spacing issues in visual mode but when I go into visual for the current pages buttons they become broken and the drop down selector shrinks and loses all text so that is no longer an option. I have looked all over and not had any luck fixing this.

    Here is the page I am currently fighting with
    https://eucproducts.com/blog/branches/

    Also, there is not supposed to be boxes around any part of the button drop down or text but there is. If you look at the original page you can see it was not part of it and the button HTML was copied from the old page:
    https://eucproducts.com/branches.html

Viewing 2 replies - 1 through 2 (of 2 total)
  • The PayPal button code on the html page is wrapped inside a div with the height set to 59px. The PayPal buttons on the new site are inside of paragraph tags but no height is set. Have you tried setting the height of <p> or using <div> and setting the height?

    The boxes around the text and drop down menu are coming from the theme’s style sheet – /themes/weaver-ii/style.min.css

    Search in this file for #content tr td and #content table to set the border to 0.

    Thread Starter cinnamonstix

    (@cinnamonstix)

    Finally got this figured out, the line breaks in the html I got for the buttons was causing excessive padding. That was the only way I could find to fix it, removing line breaks. Some button codes required line breaks while other ones were able to ignore it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pay Pal HTML padding issues’ is closed to new replies.