This guide shows how to override the background and text color of buttons using the theme editor's built-in custom CSS field.
In the theme editor, navigate to the section you want to edit.
In the settings panel, scroll to the bottom and expand Custom CSS.
To apply the change across your entire storefront instead, navigate to Theme settings > Custom CSS.
Paste the following code into the input field and update the color values as needed.
Replace the first #000000 to change the button background color.
#000000
Replace the second #000000 to change the button border color.
Replace #ffffff to change the button text color.
#ffffff
.btn { background: #000000; border: #000000; color: #ffffff; }
Last updated 2 days ago
Was this helpful?