Hi, I am trying to make the complementary product section add to cart look like a button. Does anyone know how I can achieve this result?
Hi @INKLY ,
You can follow these steps to make the effect
-
Open Online Store > Theme > Edit Code
-
Find and open the base.css (or theme.css, custom.css) file
-
Paste the code snippet below at the bottom of the file and hit save
.button.quick-add__submit {
background: #73cdc2;
color: #fff;
padding: 10px !important;
cursor: pointer;
}
Here is the result
Hope this helps you solve the issue.
Please don’t forget to Like and Mark it as an Accepted Solution if you find this helpful. Thank you!
Hi, thank you for your answer, the screenshot you sent is exactly what I would like to achieve but unfortunately the code you sent doesn’t seem to we working.
Hi @INKLY ,
You can try pasting this code snippet before the closing head tag in the theme.liquid file
Hope this will help you resolve your issue!
Oh, I’ve checked your site, it is because you do not have a closing tag before the code. Just add one closing curly brace before the code like this
}
.button.quick-add__submit {
background: #73cdc2;
color: #fff;
padding: 10px !important;
cursor: pointer;
}
Thank you very much @BSS-TekLabs , this worked great. Do you know by any chance how I can also make the product cards (Image + title + price) look bigger ?



