Changing the color of add to cart button (in product card in featured collection NOT product page)

Solved

Changing the color of add to cart button (in product card in featured collection NOT product page)

RaghavGoel1
Excursionist
41 0 12

Hi all, 

A small but important help needed... I've added quick add 'add to cart' button on my feature collection product cards. However, I want the add to card buttons in solid style rather than outline only.

Screenshot 2024-07-18 at 3.25.43 PM.png

Im aiming for something like this (https://goudagames.in/) - 

Screenshot 2024-07-18 at 3.39.00 PM.png


Can someone please help with this?

My URL - https://f40566-d3.myshopify.com/

No password.

Accepted Solution (1)

BSSCommerce-HDL
Shopify Partner
2305 834 907

This is an accepted solution.

Hi @RaghavGoel1

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag: 

<style>
.quick-add__submit.button.button--full-width {
    background-color: #016172 !important;
    color: #ffff !important;
    font-weight: 600;
    font-size: 18px !important;
}
</style>

Here is result: 

BSSCommerceHDL_0-1721297779609.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Replies 5 (5)

BSSCommerce-HDL
Shopify Partner
2305 834 907

This is an accepted solution.

Hi @RaghavGoel1

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag: 

<style>
.quick-add__submit.button.button--full-width {
    background-color: #016172 !important;
    color: #ffff !important;
    font-weight: 600;
    font-size: 18px !important;
}
</style>

Here is result: 

BSSCommerceHDL_0-1721297779609.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

RaghavGoel1
Excursionist
41 0 12

Thanks a lot sir/ma'am - this worked well!

BSSCommerce-HDL
Shopify Partner
2305 834 907

@RaghavGoel1, No problem. Have a good day 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

Made4uo-Ribe
Shopify Partner
9844 2340 2934

Hi @RaghavGoel1 

Check this one,. 

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. Then place the code below at the very bottom of the file.

 

.quick-add button {
    background: #016172 !important;
    color: white !important;
    
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1721298477271.png

     

Please don't forget to Like and Mark Solution to the post that helped you. 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.

BSS-TekLabs
Shopify Partner
2401 695 830

- Here is the solution for you @RaghavGoel1 
- Please follow these steps:

step.png

- Then find the base.css file.
- Then add the following code at the end of the file and press 'Save' to save it.

.quick-add__submit {
color: white !important;
    background: #016172 !important;
    font-weight: 700 !important;
}

- Here is the result you will achieve:

BSSTekLabs_0-1721304335768.png

 

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now