Shopify themes, liquid, logos, and UX
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
Solved! Go to the solution
This is an accepted solution.
Hi @MaisonBillonDon,
Please try this code
button.search-modal__close-button * {
color: white !important;
font-size: 15px !important
}
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;
}
The "X" button to the right is still black.
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 %}
This is an accepted solution.
Hi @MaisonBillonDon,
Please try this code
button.search-modal__close-button * {
color: white !important;
font-size: 15px !important
}
Try this one.
div.search-modal__content.search-modal__content-bottom > button > span > svg,
span.svg-wrapper.header__icon-close > svg {
color: white !important;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025