Shopify themes, liquid, logos, and UX
I can't find any code that changes the color/text for the checkout button on my cart drawer. Can someone please help me with this?
Another question: Does anyone know how I can add free shipping above the price and show the discounted price compared to the previous price in the cart drawer?
I really appreciate any help you can provide.
Solved! Go to the solution
This is an accepted solution.
Hi @Gioily
This is Richard from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the </head> to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the </head>
<style>
button#CartDrawer-Checkout {
color: red;
background: blue;
}
</style>
Hope this can help you solve the issue
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
Hi @Gioily
Please, share your store URL. Thanks!
This is an accepted solution.
Hi @Gioily
This is Richard from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the </head> to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the </head>
<style>
button#CartDrawer-Checkout {
color: red;
background: blue;
}
</style>
Hope this can help you solve the issue
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
Your solution fixed it!
Thank you so much!!
Hi @Gioily, thanks for your question.
1. To change the background color of the checkout button, please go to Online Store > Themes > Actions [...] > Edit Code > Theme.liquid file > Paste the below code at the bottom of this file:
<style>
.cart-drawer .cart__checkout-button {
background: color code;
color: color code;
}
</style>
2. To modify the button text, please go to Online Store > Themes > Actions [...] > Edit Code > Cart.liquid file > Find the button and change the text as needed.
I hope my answer will be helpful!
Liz
It worked when I put the code above the </head> part of the file!
I appreciate your help in resolving my problem 🙂
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024