Styling a Buy Now button generated via the edit/make button option
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does anyone have a sample of code that will style a button created using the All Tools, Button generate option from account log in?
Selling ONE item, don't need SDK API or any other stuff, just require a nicer button than the default available.
CSS - gained from the developer PayPal pages should be a Gold color, rectangle etc
paypal.Buttons({
style: { layout: 'vertical', color: 'gold', shape:'rect', label: 'buynow' } }).render('#paypal-button-container');
the HTML generated by the create button option is (test code) is in a Form tag.
<f o r m action="paypal.com/cgi-bin/webscr" method="post" target="_top">
<i n p u t type="hidden" name="cmd" value="_s-xclick">
<i n p u t type="hidden" name="hosted_button_id" value="etc">
< i n p u t type image buynow gif etc
< i m g a l t pixel gif etc
</f o r m>
The developer area shows how to set various styles and colors for a button, but does not say if you can use it on the HTML above that you create when generating the HTML in the All Tools Button section.
Probably a basic question but I can't get the css to amend the look, poss due to it being in a form tag, but this is a first time for me. So I don't know if this is possible or not.
Help appreciated. Thanks.
- Labels:
-
PayPal Buttons
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Can a form be generated in PayPal to show the total fees charged by PayPal over a calendar year? in Reporting Archives
- why a recurring series does not automatically generate the invoice within the set deadline? in Business Tools Archives
- Button Generator does not create a button when I add it to a page on my website. in Merchant Products and Services Archives
- Automatic FIRA still not live in India? in Reporting Archives
- How do I receive customer address when using button generator? in Merchant Products and Services Archives