What's your biggest current challenge? Have your say in Community Polls along the right column.

Re: 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
9146 2183 2698

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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

Replies 4 (4)

Made4uo-Ribe
Shopify Partner
9146 2183 2698

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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
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
10320 2046 2118

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 and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.