Title: PayPal Button Shape
Last modified: November 19, 2017

---

# PayPal Button Shape

 *  Resolved [Tad](https://wordpress.org/support/users/tatifox/)
 * (@tatifox)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/paypal-button-shape/)
 * Hello,
 * I have tried so many different approaches to change the shape of the PayPal buttons,
   and I really need your support.
 * Is there any way to change the shape of the both buttons?
 * I have illustrated in the following Sample Image;
 * [Sample Image](https://imgur.com/a/wS9ho)
 * With Gratitude.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpaypal-button-shape%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [Erica K. a11n](https://wordpress.org/support/users/piratepenpen/)
 * (@piratepenpen)
 * Automattic Happiness Engineer
 * [8 years, 6 months ago](https://wordpress.org/support/topic/paypal-button-shape/#post-9707506)
 * Hey [@tatifox](https://wordpress.org/support/users/tatifox/)!
 * I answered your question in your other post. I’m going to put in a feature request
   to see if the developers are interested in adding that button shape, but I don’t
   have an ETA on if or when that would be added.
 * Thank you for your ideas!
 *  Thread Starter [Tad](https://wordpress.org/support/users/tatifox/)
 * (@tatifox)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/paypal-button-shape/#post-9714367)
 * Hello [@piratepenpen](https://wordpress.org/support/users/piratepenpen/),
 * So this is something that I have put tremendous effort into and struggled to 
   change the buttons shape, but I couldn’t make it.
 * I really need your support regarding it ASAP, buttons shroud be more like the
   original [PayPal button](https://developer.paypal.com/demo/checkout/#/pattern/generic),
   like [THIS IMAGE](https://imgur.com/a/wS9ho), also the size, color, shape, label
   of it should be customizable. Like:
 *     ```
       style: {
       	label: 'checkout',   // pay | paypal | buynow | checkout
       	size:  'responsive',    // small | medium | large | responsive
       	shape: 'rect',     // pill | rect
       	color: 'gold',    // gold | blue | silver | black
       	fundingicons: true, // true | false
       }
       ```
   
 * Please take care of this matter, We all would really appreciate your empathy.
 * Thank you dear.
 *  [Thomas Shellberg](https://wordpress.org/support/users/shellbeezy/)
 * (@shellbeezy)
 * Automattic Happiness Engineer
 * [8 years, 6 months ago](https://wordpress.org/support/topic/paypal-button-shape/#post-9738436)
 * Hey Tad,
 * I can confirm that we have an existing feature request to allow for additional
   configuration options to the PayPal button, however, we don’t have an ETA for
   the feature request. I’m sorry to say that we cannot provide assistance with 
   customization requests, thus, you’ll want to use PayPal’s documentation along
   with CSS to change the shape and design of the PayPal button.
 *  [Nethers Web Design](https://wordpress.org/support/users/timnethersgmailcom/)
 * (@timnethersgmailcom)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/paypal-button-shape/#post-9887708)
 * This is extremely frustrating, after many attempts at customizing, I too gave
   in to the default style. Not only does it look not match colors, but the shape
   clashes as well. Please put some effort into this – it irks me enough that I 
   have considered not using Braintree.
 *  [henski](https://wordpress.org/support/users/henski/)
 * (@henski)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/paypal-button-shape/#post-9897761)
 * Hi Ted & Tim
 * I had the same problem. As a temporary fix I did the following:
 * Navigate to _wp-content/plugins/woocommerce-gateway-paypal-powered-by-braintree/
   includes/payment-forms/class-wc-braintree-paypal-payment-form.php_ and open the
   file with a code editor.
 * Starting in line 46 you can change the button style:
 *     ```
       $default_button_styles = array(
       	'label' => 'pay',
       	'size'  => 'responsive',
       	'shape' => 'rect',
       	'color' => 'blue',
       );
       ```
   
 * You can insert different values according to the [PayPal documentation](https://developer.paypal.com/docs/integration/direct/express-checkout/integration-jsv4/customize-button/#button-styles)
 * If you want to get rid of the tagline below the button, simply add `'tagline'
   => 'false',`
 * Please note that you change a core plugin file and you have to edit this file
   again when the plugin has been updated.
 * I hope this helps.
 * Best
    -  This reply was modified 8 years, 4 months ago by [henski](https://wordpress.org/support/users/henski/).
    -  This reply was modified 8 years, 4 months ago by [henski](https://wordpress.org/support/users/henski/).
 *  [marouane91](https://wordpress.org/support/users/marouane91/)
 * (@marouane91)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/paypal-button-shape/#post-9897842)
 * Hi,
    -  This reply was modified 8 years, 4 months ago by [marouane91](https://wordpress.org/support/users/marouane91/).
 *  [Nethers Web Design](https://wordpress.org/support/users/timnethersgmailcom/)
 * (@timnethersgmailcom)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/paypal-button-shape/#post-9902937)
 * Adjusting line 46+ did not make any changes happen in to the button. I adjusted
   it to blue and rect, but nothing actually occurred on the website.
 *  Thread Starter [Tad](https://wordpress.org/support/users/tatifox/)
 * (@tatifox)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/paypal-button-shape/#post-9903107)
 * **For PayPal button shape in _checkout page_ navigate to: (line 46)**
 * wp-content/plugins/woocommerce-gateway-paypal-powered-by-braintree/includes/payment-
   forms/class-wc-braintree-paypal-payment-form.php
 * **For PayPal button shape in _cart page_ navigate to: (line 141)**
 * wp-content/plugins/woocommerce-gateway-paypal-powered-by-braintree/includes/class-
   wc-braintree-paypal-cart.php
 *     ```
       $default_button_styles = array(
       	label: 'checkout',       // pay | paypal | buynow | checkout | credit
       	size:  'responsive',     // small | medium | large | responsive
       	shape: 'rect',           // pill | rect
       	color: 'gold',           // gold | blue | silver | black
       	tagline: false,          // true | false   
       	fundingicons: true,      // true | false
       );
       ```
   
 *  [Nethers Web Design](https://wordpress.org/support/users/timnethersgmailcom/)
 * (@timnethersgmailcom)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/paypal-button-shape/#post-9903356)
 * Thanks Tad, that was perfect.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘PayPal Button Shape’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-gateway-paypal-powered-by-braintree/assets/icon-
   256x256.png?rev=3234800)
 * [Braintree for WooCommerce Payment Gateway](https://wordpress.org/plugins/woocommerce-gateway-paypal-powered-by-braintree/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-gateway-paypal-powered-by-braintree/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-gateway-paypal-powered-by-braintree/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-gateway-paypal-powered-by-braintree/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-gateway-paypal-powered-by-braintree/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-gateway-paypal-powered-by-braintree/reviews/)

 * 9 replies
 * 6 participants
 * Last reply from: [Nethers Web Design](https://wordpress.org/support/users/timnethersgmailcom/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/paypal-button-shape/#post-9903356)
 * Status: resolved