Re: Add to cart button

Solved

Add to cart button

angienaija
Visitor
1 0 0

How do i change my add to cart button to this color #F3B6B6 with black text. I use Dawn theme . I had used one of the solutions I found on here and edited my code but not all my product page had the color applied. right now its just white and blends in with the backgroundScreenshot (338).png

Accepted Solutions (2)

niraj_patel
Shopify Partner
2378 514 511

This is an accepted solution.

Hello @angienaija 

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>
.product-form__buttons .product-form__submit {
background: #F3B6B6 !important;
}
</style>

techlyser_web_0-1722183269734.png

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

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

View solution in original post

Sajat
Shopify Partner
298 34 43

This is an accepted solution.

Hi @angienaija 

Welcome to Shopify Community.

To change the button color, go to Online Store -> Themes -> Edit code

Search for the file base.css

 

Then replace the code 

.button--full-width {
  display: flex;
  width: 100%;
}

with 

.button--full-width {
  display: flex;
  width: 100%;
  background-color:#F3B6B6;
}

 

This should do the trick.

 

Thank you,

Sajat


-------------------------------------------------------------------------------------------
If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.

View solution in original post

Replies 3 (3)

Asad-Mahmood
Trailblazer
156 33 38

Go to your online store -> customize -> settings -> custom css and paste this code there

button#tcustomizer-add {
    background: #F3B6B6;
}

 

AsadMahmood_0-1722183220800.png

 

If my solution has been helpful, you can consider supporting me via Buy Me a Coffee.
Hire me: asadmahmood8470@gmail.com
WhatsApp





niraj_patel
Shopify Partner
2378 514 511

This is an accepted solution.

Hello @angienaija 

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>
.product-form__buttons .product-form__submit {
background: #F3B6B6 !important;
}
</style>

techlyser_web_0-1722183269734.png

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

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

Sajat
Shopify Partner
298 34 43

This is an accepted solution.

Hi @angienaija 

Welcome to Shopify Community.

To change the button color, go to Online Store -> Themes -> Edit code

Search for the file base.css

 

Then replace the code 

.button--full-width {
  display: flex;
  width: 100%;
}

with 

.button--full-width {
  display: flex;
  width: 100%;
  background-color:#F3B6B6;
}

 

This should do the trick.

 

Thank you,

Sajat


-------------------------------------------------------------------------------------------
If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.