A Shopify store owner using the Sense theme needed help changing colors for menus, variant pickers, and search bars across their site. The elements had poor visibility with white text on white backgrounds.
Desired changes:
Background: Black
Text color: White
Hover state: White background with black text
Mobile hamburger menu colors should remain unchanged
Affected elements:
Search bars (text input and results)
Variant pickers on product/service pages
Quantity selector fields
The user wanted a solution that would automatically apply to new pages and products added in the future.
Resolution:
A community helper provided CSS code to add to the base.css file in the theme’s assets folder. The code targeted specific selectors including #Search-In-Modal-1, .predictive-search--header, and .product-form__input elements, applying the requested color scheme.
The solution was confirmed successful by the original poster.
Summarized with AI on November 7.
AI used: claude-sonnet-4-5-20250929.
May I please have assistance with changing the background color, highlight-hover color, and text color of every menu, variant picker, etc.
When I type in any Search bar, the text and the background is white, as well as the results. In the variant picker, the text only shows when its highlighted, the background result color changing blue.
For all variant pickers, search menus, quantity fields I would like:
The background to be Black
The text color to be White
When an option is hovered, Id like the background of the option to be White and the text Black
(at that point I believe I will be able to update the colors if needed later on)
If there is a way to have these settings be the same, even as I add Newpages, variant pickers with products, new sections, that would be amazing.
Thank you for sharing the store link. Please see the solution below:
In your Shopify admin, navigate to “Online Store” under Sales Channels. Click the three dots next to the theme you wish to edit, then select “Edit Code”.
Next you can find base.css file from assets folder