Page 1 of 1

Paypal Buttons : Resizing to the Page Width

PostPosted: July 18th, 2010, 1:04 pm
by einstein
Hi Friends,

I really like this plugin. thanks for offering it for free.
I have very small problem with my website. I am trying to lern html and php. so far dont know much about it.
My problem is following page
http://venuraherath.com/deposit/?s2member_sp_req=137

Those paypal buttons are huge and distorted! can someone help me how to bring them back to the normal size.

This is the Html code for the page
[s2Member-PayPal-Button ids="137" exp="504" desc="Description and pricing details here." ps="paypal" cc="USD" custom="**.com" ra="20" sp="1" image="default" /]

Thanks in advance

Re: Paypal Buttons : Resizing to the Page Width

PostPosted: July 22nd, 2010, 4:27 pm
by einstein
Can someone please suggest a clue where i can get problem solved? then i can try to find some resources to solve it by myself
Thanks

Re: Paypal Buttons : Resizing to the Page Width

PostPosted: July 22nd, 2010, 6:37 pm
by Jason Caldwell
My guess is that your theme is applying one of it's default styles to the Button. I would check the style.css file for your WordPress theme, and see if you can find a way around the issue; using CSS, or by removing an existing rule. Also see: viewtopic.php?f=4&t=309#p1702

Re: Paypal Buttons : Resizing to the Page Width

PostPosted: July 23rd, 2010, 12:07 am
by einstein
Thank you Jason, i contacted my theme developer. But he is still not that helpful
he told me to add this CSS code " input[type=”image”] { width:auto; } " it didnt work!

Re: Paypal Buttons : Resizing to the Page Width

PostPosted: July 23rd, 2010, 12:17 am
by Jason Caldwell
Try it like this, and see if that makes a difference:
Code: Select all
input[type="image"]
{
    float: none !important;
    width: auto !important;
    height: auto !important;
    display: inline !important;
}

Re: Paypal Buttons : Resizing to the Page Width

PostPosted: July 23rd, 2010, 12:23 am
by einstein
Jason You saved my Day! I really appreciate you help.
It worked!!!!!
Keep up the Good work!
Thanks again!

Re: Paypal Buttons : Resizing to the Page Width

PostPosted: July 28th, 2010, 4:30 am
by Jason Caldwell
Very welcome. Thanks for reporting back. Much appreciated.

Re: Paypal Buttons : Resizing to the Page Width

PostPosted: September 27th, 2010, 3:07 am
by Bonnie
jason - I have the same problem. However, I do not know css or where to put the code you suggested. I use Chris Pearson's Thesis Theme. Thank you - Bonnie

update: never mind - I tried it - it worked - great suggestion - :D thank you!

Re: Paypal Buttons : Resizing to the Page Width

PostPosted: October 2nd, 2010, 12:16 pm
by Elizabeth
Closed