Title: Button Sizes
Last modified: February 5, 2021

---

# Button Sizes

 *  Resolved [cnnr1995](https://wordpress.org/support/users/cnnr1995/)
 * (@cnnr1995)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/button-sizes/)
 * Hi I was wondering if I could get some help regarding the button sizes of the
   Apple Pay & Google Pay using the Stripe WooCommerce Plugin. The Google Pay box
   is slightly larger than the Apple Pay box and it would be great if I could make
   them the same size. If possible it would also be good to make them smaller as
   they are a bit big currently.
 * [https://snipboard.io/JZpbwf.jpg](https://snipboard.io/JZpbwf.jpg)
 * Any help much appreciated!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbutton-sizes%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/button-sizes/#post-14009005)
 * Hi [@cnnr1995](https://wordpress.org/support/users/cnnr1995/),
 * Thank you for contacting us. Those buttons are definitely bigger than the standard
   size generated by the plugin. Your theme is most likely overriding the height
   style that the Stripe plugin sets for the payment buttons.
 * You can target those buttons via css using the following selector:
 *     ```
       .wc_stripe_product_payment_methods li div.payment-box button{
           max-height: 40px !important; /*set your max height here*/
       }
       ```
   
 * Kind Regards,
 *  Thread Starter [cnnr1995](https://wordpress.org/support/users/cnnr1995/)
 * (@cnnr1995)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/button-sizes/#post-14009050)
 * Hi, thanks for getting back to me. I added it the custom css area but it doesnt
   appear to change the buttons size. Any other suggestions?
 * Thanks
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/button-sizes/#post-14009225)
 * Hi [@cnnr1995](https://wordpress.org/support/users/cnnr1995/),
 * Can you share your website so I can take a look? If I can see what css is overriding
   the Stripe plugin’s I can make a more targeted css selector for you.
 * Kind Regards,
 *  Thread Starter [cnnr1995](https://wordpress.org/support/users/cnnr1995/)
 * (@cnnr1995)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/button-sizes/#post-14009245)
 * Sure thanks for getting back to me it is – [https://bluesecret.co.uk/](https://bluesecret.co.uk/)
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/button-sizes/#post-14009290)
 * Hi [@cnnr1995](https://wordpress.org/support/users/cnnr1995/),
 * I will take a look and get back to you on what CSS is conflicting. I think it
   has something to do with the padding.
 * Kind Regards,
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/button-sizes/#post-14010330)
 * Hi [@cnnr1995](https://wordpress.org/support/users/cnnr1995/),
 * Here is the css that you can add that will make the button normal size:
 *     ```
       .wc_stripe_product_payment_methods * {
           box-sizing: border-box;
       }
       ```
   
 * Your theme had the box-sizing set to inherit which was throwing off the button’s
   padding.
 * Kind Regards,
 *  Thread Starter [cnnr1995](https://wordpress.org/support/users/cnnr1995/)
 * (@cnnr1995)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/button-sizes/#post-14012177)
 * Thats brilliant thank you so much it is now working.

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

The topic ‘Button Sizes’ is closed to new replies.

 * ![](https://ps.w.org/woo-stripe-payment/assets/icon-256x256.png?rev=2611337)
 * [Payment Plugins for Stripe WooCommerce](https://wordpress.org/plugins/woo-stripe-payment/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-stripe-payment/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-stripe-payment/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-stripe-payment/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-stripe-payment/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-stripe-payment/reviews/)

## Tags

 * [Apple Pay Button](https://wordpress.org/support/topic-tag/apple-pay-button/)
 * [Google pay](https://wordpress.org/support/topic-tag/google-pay/)
 * [resize](https://wordpress.org/support/topic-tag/resize/)

 * 7 replies
 * 2 participants
 * Last reply from: [cnnr1995](https://wordpress.org/support/users/cnnr1995/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/button-sizes/#post-14012177)
 * Status: resolved