Prestige Theme - Add to chart and Buy it Now Button

Highlighted
New Member
7 0 0

Hello, 

 

I am using the prestige theme. On each products' page, I have two buttons: "Add to chart" and "Buy it now". How can I make both buttons orange? On the phone view, I only see the "Add to chart" button. How can I add both buttons in orange? 

 

Computer ViewComputer ViewComputer ViewComputer ViewPhone ViewPhone View

0 Likes
Highlighted
Shopify Partner
87 29 22

Hey there, would need your store's URL to check it out! And password if there is one

Is your store fast enough? Compare your store's speed against hundreds of others for free with our benchmarker - https://www.rvere.com/
0 Likes
Highlighted
Shopify Partner
87 29 22

To make the add to cart button orange, you'd have to change its button class from secondary to primary. 

 

In your product template in the theme editor, look for this code:

<button type="submit" class="ProductForm__AddToCart Button Button--secondary Button--full" data-action="add-to-cart"><span>Add to cart</span></button>

And edit --secondary to --primary like so:

<button type="submit" class="ProductForm__AddToCart Button Button--primary Button--full" data-action="add-to-cart"><span>Add to cart</span></button>
Is your store fast enough? Compare your store's speed against hundreds of others for free with our benchmarker - https://www.rvere.com/
1 Like
Highlighted
New Member
7 0 0

Thank you for your quick response! I searched for the code above in product templates, product sections, and product snippets; but I can't find the code above. Is it in a particular file?

0 Likes
Highlighted
New Member
7 0 0

Thank you for your quick response! I searched for the code above in product templates, product sections, and product snippets; but I can't find the code above. Is it in a particular file?

0 Likes