All things Shopify and commerce
This is an accepted solution.
form[class*="shopify-product"]>div.product_payments_btns {
max-width: 100% !important;
}
Try this code with `!important`
You would use the following CSS to adjust the width:
form[class*="shopify-product"]>div.product_payments_btns {
max-width: 400px;
}
Just adjust the `400` number to 100% or a number you see fit.
pls also guide to these code what there was place step by step because i am new
I would first check your Theme Customize > Theme Settings for something called "Custom CSS" and try placing it there.
If not, you will have to edit your theme files and place it at the bottom of base.css/main.css file or right before the closing </head> tag of your theme.liquid file.
nothing will work sir please can you solve that problem
store url ;- https://0c56dd-3.myshopify.com/
This is an accepted solution.
form[class*="shopify-product"]>div.product_payments_btns {
max-width: 100% !important;
}
Try this code with `!important`
no work sir
if you have no problem so can you share your gmail i will add you in my staff acount and you help me to edit code
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025