Shopify themes, liquid, logos, and UX
I would like to change my font color in the text field of the search bar and email to black. Currently the text is white and blends in with white background. I have tried other codes but have not had any luck.
I have changed the color for now to yellow so the text can be seen but I want the text black.
Hey!
In your "component-search.css" file add this code:
.search__input.field__input {
color: black !important;
}
.field__label {
color: black;
}
If this solved it, please leave a like and mark it as solution. 🙂
Happy selling,
Flo
Hi @thefeller32 ,
Im not sure of which specific area you want to change. But this is what I understand.
input#Search-In-Modal {
color:black;
}
svg.icon.icon-cart-empty {
color: black;
}
Result:
I hope it help.
Hello,
I am also having the same issue. I tried following your steps above, but I cant seem to find your 3rd step (In the "Assets" folder, click on "base.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)
I don't have a base.css under the Assets folder. Please see photo below.
How can I change the writing from white to black?
Website: www.TrulyTeas.com
Hi @TrulyTeas
You have theme.scss.css, what you want to change? The icon or the text in the search?
How did you change it??
It can change by css code.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024