I’m customizing a section of my dawn teme adding some custom css code to modify the appearance of text and button.
I realize that adding a new custom color teme scheme it doesn’t apply the real color I choosed for button background color I would like solid black but it shows gray. The font-color it shows fine but not background color for the button.
The code I provided works completely fine and it makes the button in solid black color as well. Make sure you follow the correct steps and add the code properly. If you can share a screenshot that where you’re adding the code then I can check it out if you added it properly or not, or you can share the collaborator access with me then I can add the code for you.
The position where you added the code is perfectly accurate but I can see that you’re sharing the preview link of a draft theme so just to make sure that are you adding the code in your draft theme or your live theme? Because if you’re adding the code in your live theme then it won’t work for the draft theme. You need to add the code in your draft theme code files. If this doesn’t works as well then let me know!
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
Find the theme that you want to edit and click on “Actions” and then “Edit code”.
In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code: