WordPress.org

Ready to get started?Download WordPress

Forums

paypal button not working correctly (3 posts)

  1. AnnieInItaly
    Member
    Posted 1 year ago #

    I am trying to add paypal 'add to cart' buttons on my website, but I'm running across something strange. I created the button, pasted the code into the HTML of the page where I wanted it, but the button showed up with a bit of a gap below where I wanted it (the space of two lines of text). When I went back to the 'visual' tab, I could see the button, and I moved it up to where I wanted (by deleting the two lines of empty space). The problem is that the button worked fine *before* I moved it, but every time I try shifting it up to be where I want it on the page, when I click on the button it links to the paypal main page, and doesn't add anything to the cart.

    How else can I move the button to be where I want it/eliminate the ugly gap, without screwing up the shopping cart?

  2. Gaurav Raghav
    Member
    Posted 1 year ago #

    what's your site url ?

  3. AnnieInItaly
    Member
    Posted 1 year ago #

    I have set up a page to screw around with so I don't mess up my original one: http://logcabincooking.com/classes/testing-class/

    How it is now, the button works, but if I move the button to take away the gap it just links to the front page of PayPal and nothing more. I've tried putting in

    style=”margin:0; padding:0;”

    in the HTML, but it doesn't do anything to shift it up.

Topic Closed

This topic has been closed to new replies.

About this Topic