How do I make these "x" buttons white?

Solved

How do I make these "x" buttons white?

MaisonBillonDon
Excursionist
75 0 9

How do I make these "x" buttons white? I've included screen shot with red circles around the "x" buttons

 

theme: origin

URL: billon.maison

 

Screenshot 2025-02-01 at 9.24.44 AM.png

Bravo Billón
Accepted Solution (1)
CodingFifty
Shopify Partner
525 80 98

This is an accepted solution.

Hi @MaisonBillonDon,


Please try this code

button.search-modal__close-button * {
 color: white !important;
 font-size: 15px !important
}
Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com

View solution in original post

Replies 5 (5)

CodingFifty
Shopify Partner
525 80 98

Hi @MaisonBillonDon,


Go to Online Store, then Theme, and select Edit Code.
Search for base.css/theme.css/style.css/main.css/custom.css file Add the provided code at the end of the file.

.search-modal__content svg.icon.icon-close {
    color: white !important;
}

.header__icon svg.icon.icon-close {
    color: white !important;
}
Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com
MaisonBillonDon
Excursionist
75 0 9

The "X" button to the right is still black.

Bravo Billón
DaisyVo
Shopify Partner
3434 393 475

Hi @MaisonBillonDon 

I hope you are well. You can follow our instructions below:


1/ Shopify admin > Online store > Edit code: https://prnt.sc/M4p-gua99Uf4
2/ Search for "theme.liquid" file: https://prnt.sc/b6xveIKe-Rh2
3/ Open the file and search for </head> tag and add the following code above </head> tag: https://prnt.sc/KWtKYyZkDtYJ

 

Here is the code for Step 3:
{% style %}

button.search-modal__close-button * {
 color: white !important;
}
{% endstyle %}

DaisyVo_0-1738423642404.png

 

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution
CodingFifty
Shopify Partner
525 80 98

This is an accepted solution.

Hi @MaisonBillonDon,


Please try this code

button.search-modal__close-button * {
 color: white !important;
 font-size: 15px !important
}
Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com

Made4uo-Ribe
Shopify Partner
9845 2340 2934

Hi @MaisonBillonDon 

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:

 

div.search-modal__content.search-modal__content-bottom > button > span > svg,
span.svg-wrapper.header__icon-close > svg {
    color: white !important;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1738444835809.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.