Shopify themes, liquid, logos, and UX
I want to change the color purple to a green color
The website link is https://astropots.com/products/levitating-plant-pot?variant=45715542311166
Hey @astropots
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
.btn.btn--primary {
background: green !important;
border-color: green !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi @astropots
I just like to confirm, which background you are referring to?
Is this one?
This is the code I use,
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
select#ProductSelect-option-0 {
background: #76c8a0;
color: white;
}
.product-quantity input, .product-quantity__button--minus, .product-quantity__button--plus {
background:#76c8a0;
color: white;
}
.btn.btn--primary {
background: #1AA360;
}
And Save.
It's not fullt change yet, the hover and border are same purple color. I just like confirm it first. Thanks!
Yes thank you, something like that is what i'm going for! Can you continue the code?
Hello @astropots
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
button.btn--full.js-product-add-to-cart {
background: green !important;
border-color: green !important;
}
</style>
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Hi @astropots
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>
<style>
.btn.btn--primary {
background: green !important;
border-color: green !important;
}
</style>
If my reply is helpful, kindly click like and mark it as an accepted solution.
If you are happy with my help, you can help me buy a COFFEE
Thanks!
Hi @astropots
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > theme.css and paste this at the bottom of the file:
.js-product-add-to-cart {
background: green!important;
border-color: green!important;
}
.js-product-add-to-cart:hover {
background: green!important;
border-color: green!important;
}
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024