A Shopify store owner using the Athens theme encountered an issue where the mobile search bar text “Search for Products” was being cut off due to font size.
Solution Provided:
Add custom CSS code to the theme.liquid file (above the </body> tag)
The code reduces the placeholder font size to 12px specifically for mobile devices
Outcome:
The solution successfully resolved the display issue. The fix uses a media query targeting screens up to 749px width to apply the smaller font size only on mobile devices.
Summarized with AI on November 13.
AI used: claude-sonnet-4-5-20250929.
Is there a way to change this font size downwards, or even just change it to “Search” instead of “Search for Products”? You can see in the attached screenshot below…we are using the Athens theme.
Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.