I’m using the “Honey” theme in my Shopify store and I’m trying to change the background color of the “Add to Cart” button to #68BB88. However, this theme uses five different color schemes, and I don’t want to modify them, which is why I need a CSS-only solution.
I have limited access to custom CSS (only 500 characters max), so I need a concise CSS solution that works within this limit.
I’ve tried the following code, but it doesn’t seem to apply correctly:
I’ve also tried inspecting the elements and using different selectors, but nothing seems to work. Any suggestions or solutions that work specifically for the “Honey” theme without changing the color schemes?
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:
If you want to change the background color of the “Add to Cart” button without modifying the theme’s color schemes, here’s a concise CSS solution that should fit within the 500-character limit:
Find the option for adding custom CSS (often in Theme Settings > Custom CSS).
Paste the code above.
Why It Works- .product-form__submit specifically targets the “Add to Cart” button in most Shopify themes, including “Honey.”
!important ensures the custom style overrides the theme’s built-in rules.
The concise code fits within your character limit.
Simpler Solution with EasyEdits
If you’re tired of dealing with character limits or inspecting elements, EasyEdits can make this process effortless. I’m the developer, and the app lets you visually change button colors and more. You can try it free and keep all your changes permanently, even without subscribing.