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

Topic summary

Goal: change the “Let us find it!” button background on a product page to color #9A1C20.

Proposed approach (CSS in theme files):

  • Via Shopify Admin > Online Store > Themes > Edit code, open the CSS file used by the theme (base.css, style.css, or theme.css).
  • Add a selector targeting the button and set background: #9A1C20.

Two selector options shared:

  • .product__right-column-sticky > center > a { background: #9A1C20; } — includes steps and a screenshot demonstrating the updated button color.
  • product-page-section center a { background: #9A1C20 !important; } — advises adding to the end of base.css; uses !important to force the style.

Notes:

  • CSS (Cascading Style Sheets) controls visual styles in Shopify themes; adding rules at the end can help override existing styles.
  • Selector effectiveness may depend on the theme’s HTML structure and specificity; !important increases override priority.

Outcome/Status:

  • No confirmation from the original poster that the change worked.
  • One reply includes visual proof; no final acceptance indicated, so the thread appears open.
Summarized with AI on December 30. AI used: gpt-5.

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

1 Like

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:

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

1 Like

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!