How can I move the logo to the left and the search icon to the right on mobile? Here is an example of what I am looking for:
This is what my header looks like now!
How can I move the logo to the left and the search icon to the right on mobile? Here is an example of what I am looking for:
This is what my header looks like now!
Hi @omar_ab ,
Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above tag:
Here is result:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you
Hi @omar_ab ,
Here are the steps you can follow:
1, Navigate to Online Store > Themes > Edit Code.
2, Locate and open the base.css (or theme.css, custom.css) file.
3, Paste the code snippet provided below at the bottom of the file, then save your changes.
@media screen and (max-width: 991px) {
header .container {
position: relative;
}
.modal__toggle-search-mobile {
position: absolute;
right: 50px;
}
header .col-logo .site-header__logo {
position: absolute;
left: 65px;
}
}
Here is the result
We hope this assists in resolving the issue.
If you find our solution helpful, kindly consider Liking and Marking it as Accepted. Thank you!