Shopify themes, liquid, logos, and UX
Hello, does anyone know how to increase or decrease the length of the buy button?
https://www.remlagret.se/products/drivrem-partner-psb270-snoslunga?pr_prod_strat=copurchase&pr_rec_i...
Thanks in advance
Solved! Go to the solution
This is an accepted solution.
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;
}
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Go customize > edited code > buy-buttons.liquid and past this code
<style>
.button-add-to-cart {
flex: none !important;
}
</style>
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!
This is an accepted solution.
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;
}
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
I only want this for the buy button
Yes, it only the buy button.
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
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
User | RANK |
---|---|
220 | |
164 | |
65 | |
54 | |
53 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023