The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Customized Paypal Button

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #43847

    I have created a customized Paypal button using an image I created. I uploaded it to my wordpress site, pasted the url onto the Paypal site and got the following code for my customized button:

    $50 will supply a

    I want to make the top margin less and center the button. I used the following code:
    . paypal-donations{
    margin-top: 10px;
    text-align: center;
    The margin changed but the button did not become centered. I am I using the wrong selector or property? Or could it be something in the theme I am using? Any Ideas or suggestions would be appreciated.


    Small tweak to tannders code:

    .paypal-donations {margin: 10px auto 0;}

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.