What's your biggest current challenge? Have your say in Community Polls along the right column.

Re: How to change page color in Debutify Theme

How to change page color in Debutify Theme

astropots
Tourist
4 0 2

I want to change the color purple to a green color

 

The website link is https://astropots.com/products/levitating-plant-pot?variant=45715542311166

 

Screenshot 2024-10-02 175507.png

Replies 6 (6)

Moeed
Shopify Partner
6370 1725 2088

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:

Moeed_0-1727863852501.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Boost Your Sales with Affiliate Marketing - UpPromote: Affiliate & Referral


Made4uo-Ribe
Shopify Partner
9186 2191 2709

Hi @astropots 

I just like to confirm, which background you are referring to? 

Is this one? 

Made4uoRibe_0-1727864885276.png

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!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
astropots
Tourist
4 0 2

Yes thank you, something like that is what i'm going for! Can you continue the code?

 

Tech_Coding
Shopify Partner
418 111 98

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>

Tech_Coding_0-1727865872140.png

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.

websensepro
Shopify Partner
1290 145 166

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>

 

websensepro_0-1727870234493.png

 

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!

Need a Shopify developer?
Hire us at WebSensePro
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
Subscribe to our youtube channel or buy us a Cofee here

Free Shopify Beginner Tutorial

ZestardTech
Shopify Partner
5912 1068 1414

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;
}

 

ZestardTech_0-1727874893072.png

 

 

 

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing