Solved

How can I change the color of a specific button on my products page?

Nextdayautomati
Tourist
4 0 2

Hello, I want to change the background color of a specific button on my products page. I want to change the background color of the Let us find it! button to #9A1C20.

 

https://www.nextdayautomation.com/products/184090

letusfindit.JPG

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
6091 1465 1806

This is an accepted solution.

Hi @Nextdayautomati 

Check this one.

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.product__right-column-sticky > center > a {
    background: #9A1C20;
}

 

And Save. 

Result:

Made4uoRibe_0-1713993502327.png

 

 

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

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


View solution in original post

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
6091 1465 1806

This is an accepted solution.

Hi @Nextdayautomati 

Check this one.

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.product__right-column-sticky > center > a {
    background: #9A1C20;
}

 

And Save. 

Result:

Made4uoRibe_0-1713993502327.png

 

 

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

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


thirtycoders
Shopify Partner
113 19 24

Hi @Nextdayautomati,

  1. Go to your Online Store.
  2. Navigate to the Theme section.
  3. Select "Edit code."
  4. In the code editor, locate the base.css file.
  5. Add the provided CSS code snippet to the very end of the base.css file.
  6. Save your changes.
product-page-section center a {
   background: #9A1C20 !important;
}


Thanks! 

Thirtycoders || Shopify Partner
Found my response useful? Show your appreciation with a Like!
Did your query get resolved? Mark it as an Accepted Solution.
For additional discussions, reach out via: Email ID: thirtycoders@gmail.com