Buy Now Button Customisation - Prestige Theme

Hello Guys, I want to change the colour of “BUY IT NOW” and “ADD TO CART” buttons as below on product page

Right now it is as below on product pages.

Store Link: https://9bqeh5vkg9lyaw3p-34794897548.shopifypreview.com

1 Like

@learnify ,

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

Step 2: Search file theme.liquid

Step 3: Insert this code above tag:


Result:

If it helps you, please like and mark it as the solution.

Best Regards :heart_eyes:

Hi @learnify

  1. Go to Online Store → Theme → Edit code.
  2. Open your theme.liquid file
  3. In theme.liquid, paste the below code before

websensepro_0-1726212475278.png

If my reply is helpful, kindly click like and mark it as an accepted solution.

Thanks!

Hello @learnify
Go to online store ----> themes ----> actions ----> edit code---->theme.css
add this code at the end of the file.

.button.button--outline.w-full {
color: white !important;
background: black !important;
}
.shopify-payment-button__button.shopify-payment-button__button--unbranded.BUz42FHpSPncCPJ4Pr_f.jjzYeefyWpPZLH9pIgyw.RWJ0IfBjxIhflh4AIrUw {
background: red !important;
}

result

If this was helpful, hit the like button and accept the solution.
Thanks

Hello @learnify

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 on theme.liquid

button.shopify-payment-button__button { background: #ff0000 !important; } .product button.button.button--outline.w-full { background: #000 !important; color: #fff !important; }

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

Hi @learnify

Check this one.

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

button.button.button--outline.w-full {
    background: #000;
    color: #fff;
}

.shopify-payment-button .BUz42FHpSPncCPJ4Pr_f {
    background: red;
}

And save.

Result:

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!