1] Want View Cart Button Background To Be transparent like checkout button
2] Want Checkout Button Background To Be #9ACA3D & Text Colour To be #303030
A user wants to customize their Shopify cart drawer buttons with specific styling:
Requirements:
Solutions Provided:
Two developers offered CSS code solutions:
Tech_Coding’s approach: Add CSS in theme.liquid before </body> tag targeting .buy-buttons--compact classes
websensepro’s approach: Add CSS to theme.css/base.css file with more specific selectors, including border styling for the View Cart button
Both solutions include:
Status: Multiple working solutions provided. One additional developer requested store URL/password for a more tailored solution. The issue appears resolved pending the original poster’s implementation and confirmation.
1] Want View Cart Button Background To Be transparent like checkout button
2] Want Checkout Button Background To Be #9ACA3D & Text Colour To be #303030
Hello @Emiway
You can add code by following these steps
Go to Online Store → Theme → Edit code.
Open your theme.liquid file
Paste the below code before on theme.liquid
RESULT:
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Hi @Emiway
form.buy-buttons.buy-buttons--compact a.button.button--xl.button--secondary {
background: unset !important;
border: 1px solid black !important;
color: black !important;
}
form.buy-buttons.buy-buttons--compact button.button.button--xl.button--outline {
background: #9ACA3D !important;
color: #303030 !important;
}
Result:
If my reply is helpful, kindly click like and mark it as an accepted solution.
If you are happy with my help, you can help me buy a COFFEE
Thanks!
Hello there,
Could you please provide the URL/ password to your store so that I can check it and provide you with the exact solution?