PayPal Buttons - stretched
Hi, I am trying to control the display of a PayPal button. It is displaying stretched. Is there a way to control the image size within PayPal code?
Thanks.
Lenny Vineham
Hi, I am trying to control the display of a PayPal button. It is displaying stretched. Is there a way to control the image size within PayPal code?
Thanks.
Lenny Vineham
Hi Viney352,
Sorry to hear that your PayPal button is displaying stretched and you are facing difficulty in controlling the size of the PayPal button. As suggested by Ben, sometimes the default setting for the CSS of your button in your website's theme settings is usually the cause of the PayPal button to show abnormally big.
In addition to that, we can customize the button's HTML code individually to make it appear normal. Editing the HTML to resize PayPal button, you need to add the "style" attribute to correct the size of the PayPal button like below:-
For Example:
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_cart_SM.gif" name="submit"
alt="PayPal - The safer, easier way to pay online!"
style="border: 0px none ; padding: 0px; width: 96px; height: 21px;"/>
You can adjust the width and height dimensions as needed. Please try this and let us know if that helps.
Thanks,
Harshika
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.