PayPal usually allows you to customize the look and text on their buttons. Once done, it gives you the HTML code that you can copy and paste on to your website. But your PayPal button might sometimes look huge or abnormally big which covers your website’s entire page, which calls for us to resize PayPal button.
Here, sometimes the default settings for the CSS of your buttons in your website’s theme settings is usually the cause for the PayPal button to show abnormally big.
However, we can customize the button’s HTML code individually to make it appear normal.
Editing HTML to resize PayPal button is the answer.
Don’t worry it’s not difficult. Anyone without HTML knowledge can also easily make this change.
<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;"/>
The code shown in Red font above is what we need to add. The ‘style’ attribute ensures that the PayPal button shows normally on your blog or website. Feel free to adjust the width and height dimensions as needed.
This way we can resize PayPal custom button that shows normally.