• Resolved John Quail

    (@johnquail)


    Hi! It would be very useful to have a way to turn the “Buy” button into a “input type button” with a custom text, instead of an image.

    Also, maybe I’m missing something but I can’t find a way to do some basic styling like centering the button and the form.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Noor Alam

    (@naa986)

    We have just released an update to support these features. Now you will be able to create an input type button using the button_text parameter in the shortcode (e.g. button_text=”Buy Now”).

    To center the button you can try the following:

    1. Create a custom CSS class for the button form

    .ppbtn{
    text-align: center;
    }

    2. Specify the class in the shortcode

    [wp_paypal button="buynow" name="My product" amount="1.00" button_text="Buy Now" form_class="ppbtn"]
    Thread Starter John Quail

    (@johnquail)

    Thanks a lot! Works like a charm. I left a 5 stars review ??

    Thread Starter John Quail

    (@johnquail)

    Has this feature been removed? I can’t find it anymore.

    Plugin Author Noor Alam

    (@naa986)

    It’s still there.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Feature request: style button and form’ is closed to new replies.