Hello, im having a little trouble, ive tried changing colour of my “Add to cart” buttons, but i turns out that “Solid button background” isn’t working for them, Background works. Is there any way that i can change background of those button without changing entire background colour?
@Pokeloot Thanks for reaching out to Shopify community with your concern. We can definitely change the color by using CSS code. Can you please provide the URL of your store and if it is password protected please share the password too. Also, let us know which color you want for the button? Thanks
In many Shopify themes, “Solid button background” controls only primary button styles, while Add to Cart buttons are often styled separately for conversion and consistency. That’s why the background option works, but the solid button setting does not apply to them.
Welcome to the Shopify Community! Please share your store URL and password (if it’s password-protected), so I can check and provide you with the exact solution.
None of above were working for me. I managed to get to my point with chaning global background setting in this theme to the colour i want my button to be, and then i changed whole background in css
i had the same question and i found a way to fix it today. Im not sure if this is for every theme, but i am using Rise at the moment.
Online Store → Themes → … → Edit Code
Go into snippets → buy-buttons.liquid →
Look for “class="product-form__submit button button–full-width {% if show_dynamic_checkout %}button–secondary{% else %}button–primary{% endif %}" →
Switch “button–secondary” with “button–primary” →
What final snippet should look like class=“product-form__submit button button–full-width {% if show_dynamic_checkout %}button–primary{% else %}button–secondary{% endif %}”
it took me over 2 hours to find this. im not sure why its not in base.css or really anywhere else.