Can someone please provide a code to move the search bar icon on mobile version a little to the right so that its not so close to the drop-down menu icon. Thanks in advance!!
Topic summary
A user seeks to reposition the mobile search icon on their Shopify Dawn theme homepage, as it appears too close to the dropdown menu icon.
Solution Provided:
- Add CSS code targeting screens under 749px width
- Adjust the
.header__iconsearch icon positioning withleft: 12.5%(later updated to16.5%) - Insert the code in
theme.liquidfile before the</body>tag
Additional Request:
The original poster also wants to add a clickable link to a photo in their footer section that directs to the main store homepage. This secondary question remains unresolved in the conversation.
Technical Details:
The solution involves custom CSS with media queries and requires editing theme files through the Shopify admin panel (Online Store → Theme → Edit code).
Hi @Anonymous
You can do that by using this code
@media (max-width: 749px) {
.header__icon.header__icon--search.header__icon--summary {
left: 12.5% !important;
}
}
Hi @Anonymous
following these steps
-
Go to Online Store → Theme → Edit code.
-
Open your theme.liquid file
-
Paste the below code before in theme.liquid
I should have been more specific, I want to add the link to my stores main homepage in my footer section photo.

