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
#000000to change the button background color. - Replace the second
#000000to change the button border color. - Replace
#ffffffto change the button text color.
- Replace the first
.btn { background: #000000; border: #000000; color: #ffffff; }