Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Why won't one button change color on my site?

Solved

Why won't one button change color on my site?

strivewellness
Tourist
5 0 2

Hello,

 

I have changed the theme settings on my site to have all buttons a certain color, and one won't change.

 

It is in an Image with Text section (which seems to be an issue for many) but I haven't been able to find a solution for my site.

 

The site is whatareyoustrivingfor.com. I want the black 'Reviews' button to be #AF968B.

 

Thanks for your help!

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
9075 2167 2677

This is an accepted solution.

Oh, Sorry my fault. Check this one then. 

Same Instruction. 

 

#ImageWithText--template--17937271718204__4201114a-57e9-415e-a5df-bf03e7df496e > a {
    background: #AF968B !important;
}

 

And Save. 

 

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

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

Replies 4 (4)

Made4uo-Ribe
Shopify Partner
9075 2167 2677

Hi @strivewellness 

Try 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:

 

a.button.button--primary {
    background: #AF968B !important;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1694101502679.png

     

 

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

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
strivewellness
Tourist
5 0 2

Hello! Thank you for this. This worked, but it changed every button on my site, which isn't what I wanted... Is there a way to only change that one button?

Made4uo-Ribe
Shopify Partner
9075 2167 2677

This is an accepted solution.

Oh, Sorry my fault. Check this one then. 

Same Instruction. 

 

#ImageWithText--template--17937271718204__4201114a-57e9-415e-a5df-bf03e7df496e > a {
    background: #AF968B !important;
}

 

And Save. 

 

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

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
strivewellness
Tourist
5 0 2

THANK YOU! This did it! You just made my day a lot easier. I appreciate it.