Cannot change height or flex property of google pay button

moyanoa
Excursionist
29 2 5

Hi all! I'm trying to change the flex property of Google Pay button but I can't because has !important and I think it is loaded after page is loaded so my !important it is not working..

moyanoa_0-1620866581087.png

and in my theme.css I've

 

.shopify-payment-button__button--branded .shopify-cleanslate {
flex: 0 !important;

}

but still flex: 1 more important..

 

how can I change it?

 

thanks!!

0 Likes
LitExtension
Shopify Partner
920 107 160

Hi @moyanoa

You can try with this snippet:

body .shopify-payment-button__button--branded .shopify-cleanslate {

    flex: 0 !important;

}

If you can not do that, please share your site URL, so I can check and provide a solution here.

Hope this helps.

LitExtension - Shopping Cart Migration Expert
If our answer is helpful then please accept as solution!
Are you looking for a solution to migrate to Shopify? Contact us for further assistance.
Try our FREE DEMO now!
0 Likes