How to customize the color and the text for the button on products in section "top selling products"

Solved

How to customize the color and the text for the button on products in section "top selling products"

michal22
Explorer
62 1 10

Hi I d like to ask how could I customize a button on my "best selling products" collection on the front page from "choose options" or "buy it now" to "Shop Now" and making the button rectangular with the same green color that is my website covered with. I cannot send screeshots because they are saved in png or jpg and it wouldnt accept them but i ll send link to my store. The "best selling products" section is on my front page.

My store: pawitopia.com

Accepted Solutions (4)

BSS-TekLabs
Shopify Partner
2401 695 835

This is an accepted solution.

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

z5686811214059_e66de1953f1db631f9134af5cdb796ad.jpg

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

.quick-add__submit {
    background: #139C7E !important;
    color: white !important;
}

- Here is the result you will achieve:

BSSTekLabs_0-1723557175759.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

View solution in original post

BSS-TekLabs
Shopify Partner
2401 695 835

This is an accepted solution.

Can you add more code in file theme.css @michal22 

.quick-add__submit::after {
    box-shadow: none !important;
}

  

BSSTekLabs_0-1723557825147.png

 

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

View solution in original post

BSS-TekLabs
Shopify Partner
2401 695 835

This is an accepted solution.

BSSTekLabs_2-1723726696938.png

 

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

View solution in original post

BSS-TekLabs
Shopify Partner
2401 695 835

This is an accepted solution.


- Here is the result you will achieve:

BSSTekLabs_3-1723726742987.png

 

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

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

View solution in original post

Replies 13 (13)

BSS-TekLabs
Shopify Partner
2401 695 835

This is an accepted solution.

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

z5686811214059_e66de1953f1db631f9134af5cdb796ad.jpg

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

.quick-add__submit {
    background: #139C7E !important;
    color: white !important;
}

- Here is the result you will achieve:

BSSTekLabs_0-1723557175759.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
BSS-TekLabs
Shopify Partner
2401 695 835

And add this code before tag </head> in file theme.liquid to replace text to "Shop now" @michal22 

<script>
let listButtons = document.querySelectorAll(".quick-add__submit")
listButtons.forEach((element) => element.textContent="Shop Now");
</script>

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
BSS-TekLabs
Shopify Partner
2401 695 835

- Here is the result you will achieve:

BSSTekLabs_0-1723557631785.png

 

 

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

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
michal22
Explorer
62 1 10

i dont know why but this doesnt work for me

michal22
Explorer
62 1 10

Thank you it works but could you lease tell me how to remove the black line that outlines the text?

BSS-TekLabs
Shopify Partner
2401 695 835

This is an accepted solution.

Can you add more code in file theme.css @michal22 

.quick-add__submit::after {
    box-shadow: none !important;
}

  

BSSTekLabs_0-1723557825147.png

 

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
BSS-TekLabs
Shopify Partner
2401 695 835

 

<script>
window.addEventListener('load', function() {
let listButtons = document.querySelectorAll(".quick-add__submit");
listButtons.forEach((element) => element.textContent="Shop Now");
})
</script>

 

 

 

Please edit the code added to theme.liquid with this code @michal22 

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
michal22
Explorer
62 1 10

thank you very much but now after clicking the buttons nothing happens they only fade a little bit 

BSS-TekLabs
Shopify Partner
2401 695 835

Can you remove code and i can check again

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
michal22
Explorer
62 1 10

sure , i just did that

BSS-TekLabs
Shopify Partner
2401 695 835

Replace this code to "Shop Now"

BSSTekLabs_0-1723726634072.png

 

 

 

 

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
BSS-TekLabs
Shopify Partner
2401 695 835

This is an accepted solution.

BSSTekLabs_2-1723726696938.png

 

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
BSS-TekLabs
Shopify Partner
2401 695 835

This is an accepted solution.


- Here is the result you will achieve:

BSSTekLabs_3-1723726742987.png

 

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

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