How to change the color to red of the "Buy 2, Get the 3rd at 80% OFF" variant button?

Solved

How to change the color to red of the "Buy 2, Get the 3rd at 80% OFF" variant button?

Jim3
Explorer
68 1 23

Screenshot (181).png

 

Thank you for your time !

Jim
Accepted Solution (1)
Jim3
Explorer
68 1 23

This is an accepted solution.

@Moeed Do you know how could I also change the color of the text to black and bold it little bit at the same variant button? 

Screenshot (186).png

 

Thank you very much ! 🙂

Jim

View solution in original post

Replies 18 (18)

Mustafa_Ali
Excursionist
327 24 53

hey @Jim3 plz share the url of your website so i can help you

Jim3
Explorer
68 1 23

Hey, my theme is Dawn on Shopify. 

Do you still need the url ?

 

Jim

Dotsquares
Shopify Partner
370 22 51

Hello @Jim3 

Could you please share your website URL so I can assist you  with your request ?

Dotsquares Ltd


Problem Solved? ✔ Accept and Like solution to help future merchants.


Shopify Partner Directory | Trustpilot | Portfolio
Jim3
Explorer
68 1 23

Yes here you are: 

Jim

Moeed
Shopify Partner
7334 1989 2424

Hey @Jim3 

 

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>
label[for="template--23392083870024__main-2-0"] {
    background-color: red !important;
    border: solid 1px red !important;
}
</style>

RESULT:

Moeed_0-1742471078834.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!

- Custom Design | Advanced Coding | Store Modifications


Jim3
Explorer
68 1 23

God bless you 🙂 It works !

Jim
Jim3
Explorer
68 1 23

This is an accepted solution.

@Moeed Do you know how could I also change the color of the text to black and bold it little bit at the same variant button? 

Screenshot (186).png

 

Thank you very much ! 🙂

Jim
Moeed
Shopify Partner
7334 1989 2424

Hey @Jim3 

 

Just simply replace the code with this code below

<style>
label[for="template--23392083870024__main-2-0"] {
    background-color: red !important;
    border: solid 1px red !important;
    color: black !important;
}
</style>

 

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!

- Custom Design | Advanced Coding | Store Modifications


Jim3
Explorer
68 1 23

@Moeed 

 

I don't have words to describe you how much you are helping me ! Thank you again !

 

I have one last request which I want to try. Do you know how could I bold this letters just a bit?

 

Screenshot (187).png

 

Jim
Moeed
Shopify Partner
7334 1989 2424

Glad to hear, feel free to update the code with this code below

<style>
label[for="template--23392083870024__main-2-0"] {
    background-color: red !important;
    border: solid 1px red !important;
    color: black !important;
    font-weight: bold !important;
}
</style>

 

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!

- Custom Design | Advanced Coding | Store Modifications


Jim3
Explorer
68 1 23

That is amazing, Thank you !

Jim
Moeed
Shopify Partner
7334 1989 2424

Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


Jim3
Explorer
68 1 23

Hi, @Moeed 

 

Thank you very much for your strong support!

Yes, I have one request: How could I bold the text of the tittle of the product page?

 

Screenshot (159).png

 

Kind regards, Jim 🙂

Jim
Moeed
Shopify Partner
7334 1989 2424

Hey @Jim3 

 

Can you share your store URL again?

 

Best Regards,

Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


Moeed
Shopify Partner
7334 1989 2424

Hey @Jim3 

 

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>
.product__title>* {
    font-weight: bolder !important;
}
</style>

RESULT:

Moeed_0-1742548218463.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!

- Custom Design | Advanced Coding | Store Modifications


Jim3
Explorer
68 1 23

@Moeed

 It works ! Thank you !

I want to mark it as solution but unfortunately is not giving me such a option idk why.. but I liked it already !

Jim
Moeed
Shopify Partner
7334 1989 2424

It's completely fine! Thank you 🙂

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications