Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I want to change outline button to solid button for add to cart. I am attaching the image below.
https://www.swayur.com/collections/all/
I want this button to be changed into solid button with white color font and background as #1967d2
Like this:
Solved! Go to the solution
This is an accepted solution.
Hi @swayurindia
Try this one.
.quick-add__submit {
background: #1967d2;
color: white;
border: none !important;
}
button.quick-add__submit:after {
border: none !important;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Online Store -> Edit Code->assets->base.css add this line at end of the file
.button--secondary{
background: #1967d2!important;
color: white!important;
border: none;
}
and save the file
Still there is white color border appearing in the outer of the button
border: solid #1967D2 !important; replace with border:none;
This is an accepted solution.
Hi @swayurindia
Try this one.
.quick-add__submit {
background: #1967d2;
color: white;
border: none !important;
}
button.quick-add__submit:after {
border: none !important;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi there, I tried this solution and it didn't work for me. I want to make my outlined add to cart button a solid button. I am using the "Craft" store theme. Could you help me out with this? Thanks!
We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024