Hi,
Our website is https://romanandisaac.co.uk/ - password is isaac
How could we go about moving the search icon to the right side of the page show it was showing next to the cart instead of on the left next to the menu?
Thanks
Goal: move the Dawn theme’s search icon from the left (near menu) to the right (near cart).
Key approach (CSS in base.css):
Troubleshooting and alternative:
Outcome:
Status: resolved for the OP; guidance varies by header layout and exact CSS placement. Code snippets are central to the solution; screenshots are illustrative but not essential.
Hi,
Our website is https://romanandisaac.co.uk/ - password is isaac
How could we go about moving the search icon to the right side of the page show it was showing next to the cart instead of on the left next to the menu?
Thanks
You can do that by adding this code at the bottom of your base.css file in Online store > Themes > Edit code > Assets
.header > .header__search {
grid-area: icons !important;
justify-self: flex-end !important;
margin-right: 34px !important;
}
Thanks - have just tried this although doesn’t seem to have worked unfortunately.
Did you try to clear your browser cache after adding code? And can you show me where did you added code?
Hi @cabinandcrate ,
This is David at SalesHunterThemes.
You can try to follow these steps:
Go to Online Store → Themes → Actions → Edit code.
Go Assets folder → base.css file.
Add this following code at the bottom of page.
@media screen and (min-width: 990px)
.header--top-center.drawer-menu {
grid-template-areas: 'left-icons heading search-icon icons';
}
.header > .header__search {
grid-area: search-icon;
justify-self: end;
}
}
result:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
David | SalesHunterThemes team
I managed to get it working by just adding your code to the current the current .header > .header__search { further up in the file.
Thanks for your help.
Awesome
!