Shopify themes, liquid, logos, and UX
Hello, I would like to change the search text color in the search box and dropdown on my homepage ONLY. The search text currently in my homepage is white, and is very hard to read against my light green background. Picture provided below as reference:
I would like to change text color to a specific dark green shade ONLY for the search in my homepage, but keep the rest of the white text on my homepage menu like below.
The search text color on my other website pages looks like below, and I want the search on the homepage to look like this too:
Please let me know how I can do this, thank you.
Hi @artiisque
This is Henry from PageFly - Landing Page Builder App
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file base.css
Step 3: Paste the below code at bottom of the file -> Save
.predictive-search__result-group p,
h2#predictive-search-products,
input#Search-In-Modal,
label.field__label {
color: black !important;
}
Hope that my solution works for you.
Best regards,
Henry | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
Hello, this only changed certain parts of the dropdown as below:
I would like the rest of the white text to be darker too. Thank you.
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025