Hi,
I have been trawling this forum for some days now and am unable to find a solution to customising the “Add to Cart” & “Checkout” buttons to background : #B90000 with White text. With the goal being something like this …
I am using the latest Spotlight Theme 15.4.0 and our site is lephonographe.org
Merci
1 Like
Moeed
July 26, 2025, 10:59am
2
Hey @LePhonographe
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above </ body> tag
<style>
.product-form__submit {
background: #B90000 !important;
color: white !important;
}
.cart__checkout-button {
background: #B90000 !important;
color: white !important;
}
</style>
If I managed to help you then a
Like would be truly appreciated.
Best,
Moeed
1 Like
Hello @LePhonographe
Go to Online Store > Themes > Actions > Edit Code > Assets > base.css
Paste your CSS at the bottom of base.css and click Save
.product-form__submit,
button[name="add"],
button[name="checkout"],
.cart__checkout-button {
background-color: #B90000 !important;
color: #ffffff !important;
border: none !important;
transition: background-color 0.3s ease;
}
.product-form__submit:hover,
button[name="add"]:hover,
button[name="checkout"]:hover,
.cart__checkout-button:hover {
background-color: #990000 !important;
}
button .spinner .path {
stroke: #ffffff;
}
.cart__checkout-button,
.product-form__submit,
button[name="checkout"] {
background-color: #B90000 !important;
color: #ffffff !important;
border: none !important;
}
.cart__checkout-button:hover,
.product-form__submit:hover,
button[name="checkout"]:hover {
background-color: #990000 !important;
}
1 Like
I added the code as instructed - with no effect on the page display for either Add to cart or Check out.
Could the Spotlight theme be using different variables for these buttons?
Thank you for your suggestion
unfortunately this isn’t showing any change. the code is rational but maybe it is being over-ridden elsewhere? i have no idea
Moeed
July 26, 2025, 3:00pm
6
Maybe you’re not able to add it properly, no worries at all! Feel free to share your collaborator request code in my private messages and I can do that for you!
Best,
Moeed
1 Like
Hello @LePhonographe
Please send me the collaborator code. I will send you a store access request and give you a proper update.
1 Like
Hello @LePhonographe
Bro, I’ve sent you the request — please accept it.
collaborations not possible on our account. aargh.
thanks for trying.
Hello @LePhonographe
Where did you add the CSS? I can’t find it in the base.css file.
base.css where you suggested
i’ve added a second time as i was also trying the theme.liquid script version.
if you refresh the page - your code should show
@LePhonographe
it working right ?
1 Like
yes indeed!
perfect. thank you for your trouble.
very happy : ))
Hello @LePhonographe
Thank you for your response. It’s good to know that it’s worked for you. Kindly feel free to get back to me if you need any further assistance. If helpful, please like all posts.
1 Like