Page 1 of 1

Style Submit Form button

PostPosted: November 19th, 2011, 9:16 am
by Deyson
Hello :)

Is there a way to style the submit form button in Pay Pal Pro Forms using CSS and also not tampering with the other submit buttons on the site?

Thank you :)

Re: Style Submit Form button

PostPosted: November 19th, 2011, 9:21 am
by Eduan
You can use the PayPal button generated with s2Member's shortcode and change the image to the one you prefer using the image attribute. For more information refer to WP Admin -> s2Member -> PayPal Buttons -> Shortcode Attributes -> image="default".

You can also refer to this thread:
viewtopic.php?f=4&t=14837

Hope this helps. :)
Also remember to report back,
otherwise you leave me worrying. ;)

Re: Style Submit Form button

PostPosted: November 19th, 2011, 9:26 am
by Deyson
Thank you. I am not referring to the Pay Pal button. I am speaking about the submit button that appears after you select a credit card.

Thank you very much for the quick response.

Re: Style Submit Form button

PostPosted: November 21st, 2011, 3:30 am
by Cristián Lávaque
I emailed Jason asking him about this.

Re: Style Submit Form button

PostPosted: November 21st, 2011, 6:06 am
by Deyson
Thank you :)

Re: Style Submit Form button

PostPosted: November 21st, 2011, 1:03 pm
by Jason Caldwell
Yes, these buttons could be referenced by ID in your CSS file.
Code: Select all
input#s2member-pro-paypal-checkout-submit[type = "submit"],
input#s2member-pro-paypal-sp-checkout-submit[type = "submit"],
input#s2member-pro-authnet-checkout-submit[type = "submit"],
input#s2member-pro-authnet-sp-checkout-submit[type = "submit"]
   {
      /* Styles go here. */
   }

Re: Style Submit Form button

PostPosted: November 21st, 2011, 6:04 pm
by Deyson
Thank you :) worked like a charm :)