Shopify themes, liquid, logos, and UX
I am looking to change the color of the add to cart button on a clients website, but there are no options in settings to change that button. see attached image for reference, the button i want to change the color of is outlined in pink.
Here is the link to the product: https://sweetskendamas.com/collections/all/products/triple-stripe-black-legend-shape
Can anyone take a look at the css and show me where to make this change? i want the button to be pink.
Thanks
MM
Hi @mattpermute , go to theme.css and add the following code :
button.btn.btn--full.add-to-cart.btn--secondary {
background-color: #FFC0CB !important;
}
Hi @Abdosamer
This is Henry from PageFly - Landing Page Builder App
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.css
Step 3: Paste the below code at bottom of the file -> Save
button.btn.btn--full.add-to-cart.btn--secondary {
background: red !important;
}
Hope that my solution works for you.
Best regards,
Henry | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
Hello!
Will this work for the Origin theme as well? Or would it be somewhere else
Hello @mattpermute 👋
In Shopify Admin, you can go to Edit theme code, open file theme.css and add this code at the bottom
button.add-to-cart {
background-color: #ff00c9 !important;
}
The result
Hope that helps!
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024