hi, can someone help me add a search icon/bar on mobile?
i tried solutions that have been provided for other themes but they don’t work for Spotlight.
Thanks!
A Shopify store owner using the Spotlight theme needs help adding a search icon/bar for mobile devices. Solutions that worked for other themes don’t apply to Spotlight.
Proposed Solutions:
Current Status:
The issue remains unresolved. The original poster tried both solutions without success, reporting “it didn’t work” multiple times with screenshots showing the problem persists. BSS-TekLabs identified a missing closing bracket (“}”) in the code implementation and provided follow-up guidance with marked screenshots, but the search bar still hasn’t appeared on mobile. The discussion is ongoing as they troubleshoot the CSS implementation.
hi, can someone help me add a search icon/bar on mobile?
i tried solutions that have been provided for other themes but they don’t work for Spotlight.
Thanks!
Please add this code to Custom CSS in Online Store > Themes > Customize > Theme settings
@media (max-width: 749px) {
.header--top-center>.header__search {
display: block !important
}
}
.header__search {
display: block !important;
}
sorry, meant for that reply to go under the other solution provided. trying yours now!
Please add a } mark to the position I marked @shoproseadore
ok there’s not “Custom CCS” under my theme
You’re missing a “}”. Let’s add it to the location I marked in the photo above @shoproseadore