I updated my dawn theme to 10.0 and adjusting the colour theme is a pain. I have changed all the colour options in my colour schemes but still cannot change the text and background colour of the “add to cart” buttons on the homepage and product page. I am only using “Scheme 1” and “Scheme 2” as shown below. Please help.
Hello @tsleong12
You can try this code: it will be helpful to you
Go to the Online Store->Theme->Edit code->Assets->base.css>Add this code at the bottom.
button#ProductSubmitButton-template--14962412257369__main {
background: #000 !important;
}
@Amber001 I cannot find anything like “style.css”. Can you please give me a detailed walkthrough? I am using dawn theme version 10.0. Thanks.
@oscprofessional the code doesn’t work
I found the below code and added to the base.css under Asset. I am not sure why it only worked on half on my products on my home page
product-form [type=“submit”] {
color: #FFFFFF !important;
background-color: #58b42d !important;
font-weight: bolder !important;
}
Hello @tsleong12
Please provide your store URL and, if it is password protected, please share the password so I can review it and provide a solution.
the code doesn’t seem to work on the products with variants. they are “Choose options” buttons.