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.
Shopify and our financial partners regularly review and update verification requiremen...
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