Shopify themes, liquid, logos, and UX
How can i change the color of the add to cart and share button? I'm using the origin theme and I don't see any way to change those particularly. They do not match my color scheme and it's annoying.
Solved! Go to the solution
This is an accepted solution.
Hello @NamelessTrader ,
I understand you are looking to change the 'Add to cart' & Share button text color.
You can implement this change by following the below mentioned steps -:
1. First Go to Online Store -> Themes -> Click on Action(three dots) -> Edit code.
2. Search & Find the .css or theme liquid file of your store.
3. Now, search for the below mentioned code and add the color property in it.
.button--full-width {
display: flex;
width: 100%;
color: black;
}
Output => https://prnt.sc/7f19-RnmFWOK
.share-button__button, .share-button__fallback button {
cursor: pointer;
background-color: transparent;
border: none;
color: black;
}
Output => https://prnt.sc/PItohedmU1La
4. Save the changes.
I hope the solution helps you.
Please let me know if you need any assistance.
Thank you.
Would you mind to share your Store URL website? with password if its unpublish. Thanks!
thenamelesstrader.com
pw is lebraw
Thanks for the info, do you mean like this?
If it is try this one.
button#ProductSubmitButton-template--16848396222701__main {
background: sandybrown;
color: white;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @NamelessTrader ,
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.liquid
Step 3: Paste the below code at the bottom of the file -> Save
<style>
#MainContent .product-form__submit{
color:blue
}
</style>
you can try using different color
Hope my solution works perfectly for you!
Best regards,
Oliver | 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.
This is an accepted solution.
Hello @NamelessTrader ,
I understand you are looking to change the 'Add to cart' & Share button text color.
You can implement this change by following the below mentioned steps -:
1. First Go to Online Store -> Themes -> Click on Action(three dots) -> Edit code.
2. Search & Find the .css or theme liquid file of your store.
3. Now, search for the below mentioned code and add the color property in it.
.button--full-width {
display: flex;
width: 100%;
color: black;
}
Output => https://prnt.sc/7f19-RnmFWOK
.share-button__button, .share-button__fallback button {
cursor: pointer;
background-color: transparent;
border: none;
color: black;
}
Output => https://prnt.sc/PItohedmU1La
4. Save the changes.
I hope the solution helps you.
Please let me know if you need any assistance.
Thank you.
this solution worked, to an extent. The outline of the add to cart button is still that brown color though. i would like for it to be black.
I would also like to add a "back" button or a previous page button, preferably that matches my current color scheme and button style. I would like for it to be located in the top left corner of the product page
Hello @NamelessTrader ,
Thank you for accepting my solution.
I believe you are using a customizer in your detail page, because of this I cannot suggest any solution for changing the 'Add to cart' button outline colour. I have to check the customizer code for this.
The 'Back' or 'previous Page' button can be added to your product page as per your need. However, it will take some time.
I suggest you to fulfil both the above tasks, you can hire a shopify developer.
Thank you.
User | RANK |
---|---|
208 | |
177 | |
63 | |
51 | |
47 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023