Support » Plugin: Braintree For WooCommerce » Remove new PayPal buttons from cart

  • Resolved LucasHilty


    The last update (2.6.4) added large PayPal buttons to the cart page. These don’t look good on my site and there’s no way to style them from the plugin settings. I’d love for them to be made customizable.
    Specifically, there was no padding between the PP button and the checkout button on my cart. Plus the buttons are simply too large.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Sorry, I notice that I’ve incorrectly titled this thread. There is already the option to remove the button from the cart page.
    The worst part of the buttons is that they cover up the checkout buttons in the cart.

    Plugin Author mr.clayton


    Hi @lucashilty,

    You can control the styling and size of the PayPal SmartButtons that appear on your cart page. On the same settings pop up where you see the option to remove PayPal from the cart, you can select the button size and layout.

    I recommend starting with a medium, responsive layout.

    Also, because we can’t predict how each theme will render the cart page, we leave the details of padding and margin up to the merchant beyond what is provided by the plugin. The container element that has the buttons has a default top margin of 10px. You can customize and add to these css properties via your theme’s custom.css file.

    Here is an example:

    .cart_totals .bfwc-paypal-cart-checkout-container{
          margin-top: 20px;

    Another option is to leave the SmartButton sizing like it is (default is responsive) and limit the maximum width of it’s container. You could add the following css to your theme’s custom.css file.

         max-width: 350px;

    Kind Regards,

    • This reply was modified 11 months, 3 weeks ago by  mr.clayton.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove new PayPal buttons from cart’ is closed to new replies.