I want to change the colour of the background and content of both button.
URL: https://greendeerkids.myshopify.com/
ps. green
I want to change the colour of the background and content of both button.
URL: https://greendeerkids.myshopify.com/
ps. green
You should be able to by going to the following in your theme editor;
Theme Settings (Bottom left)
Colors
Change the “Primary” and “Secondary” Button colors
If you want them to be a different color on only the product page, you’ll have to edit the product page template in the “edit code” section.
Hope that helps
Hi @Avantika01 ,
You can follow the instruction below:
.product-form__cart-submit,
.shopify-payment-button .shopify-payment-button__button--unbranded {
background: black !important;
color: white !important;
border-color: black !Important;
}
NOTE: Value black and White, you can change to fit your theme
If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.
What if I want to color both tab differently. Means top one different color, and bottom different.
Hi @Avantika01
you need to split into css for 2 buttons as follows:
.product-form__cart-submit {
background: black !important;
color: white !important;
border-color: black !Important;
}
.shopify-payment-button .shopify-payment-button__button--unbranded {
background: black !important;
color: white !important;
border-color: black !Important;
}
hope it can help you