Hello!
I would like to change appearance of add to cart button on my shop.
I actually have a short tutorial for that, but maybe it’s out of date and probably for other theme, so I want to make sure I do it right…
So in that tutorial I should find: theme.css.liquid (under Assets section) and then add a custom code to the end of that. Screenshot: https://prnt.sc/9UNWMBEDd0yN
But I can’t find theme.css.liquid file under Assets section on my theme (Refresh 2.0.1). So I’m not sure where should I add this code to..? and I don’t want to mess up things on my shop.
Should I add it then at theme.liquid under Layout section, or maybe somewhere else?
I’ve got 3 different styles of add to cart button customization, and here’s the code for the first one (just so you can have a better picture of what I use):
.product-form__submit button button–full-width button–primary{
box-shadow: 0 0 0 0 rgba(255, 85, 72, 1);
animation: pulse-red 2.5s infinite;
}
@keyframes pulse-red {
0% {
box-shadow: 0 0 0 0 rgba(255, 85, 72, 0.7);
}
70% {
box-shadow: 0 0 0 10px rgba(255, 85, 72, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(255, 85, 72, 0);
}
}
This is just the first type customization code..
I would be really thankful it if someone can help me not mess up things ![]()
Best regards!


