Hello, does anyone know how to increase or decrease the length of the buy button?
Thanks in advance
Hello, does anyone know how to increase or decrease the length of the buy button?
Thanks in advance
Go customize > edited code > buy-buttons.liquid and past this code
Hello, and thank you for your response. I appreciate the help, but I’m still uncertain if this is exactly what I’m searching for. Additionally, I’m a bit confused about where to paste the code. There seem to be various places in the code editor.
Furthermore, I’m interested in finding a method to increase or decrease values, as I want to experiment with different settings. Could you provide guidance on this as well? Thank you!
Hi @emilbrandon
The button can be decrease/increase base on the container with the quantity selector you have in your product page.
Check this one out.
@media (min-width: 750px){
.product-actions {
width: 60rem;
}
}
And Save.
Result:
Note: Thos code is only visible on desktop not on mobile. You can also decrease/increase the sizes.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @emilbrandon
This is Henry from PageFly - Landing Page Builder App
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file base.css
Step 3: Paste the below code at bottom of the file → Save
.button, .shopify-challenge__button {
min-width: 80% !important;
}
Hope that my solution works for you.
Best regards,
Henry | PageFly
I only want this for the buy button
Yes, it only the buy button.