Change button colour for image banner

Solved

Change button colour for image banner

ads
Excursionist
27 0 12

hi, i want to change the colour of my button on the image banner to a white background & outline with black text

Screenshot 2024-10-15 at 21.50.46.png

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
10119 2400 3033

This is an accepted solution.

Hi @ads 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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:

 

.banner__buttons a {
    background: #fff;
    color: #000;
}

 

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

     

 

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

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.

View solution in original post

Replies 4 (4)

Made4uo-Ribe
Shopify Partner
10119 2400 3033

This is an accepted solution.

Hi @ads 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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:

 

.banner__buttons a {
    background: #fff;
    color: #000;
}

 

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

     

 

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

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.
ads
Excursionist
27 0 12

am i doing something wrong, i entered the code but nothing has happened

Screenshot 2024-10-16 at 15.30.56.png

ads
Excursionist
27 0 12

Dont, worry - sorted it!

Dan-From-Ryviu
Shopify Partner
11599 2273 2455

Please add this code to Custom CSS of that section 

.button {
    background: #fff;
    color: #0
}
.button:after { box-shadow: 0 0 0 1px #333;  }

Screenshot 2024-10-16 at 09.40.28.png

- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.