I’m and looking to add a search bar in the header on both the desktop top view and mobile view. Currently desktop has a magnifying glass and search on mobile is only available when you go to navigation bar on left. Looking for code and where to place it.
Website: oldglory.com
Thanks,
Chris
2 Likes
Hello @ChrisKap
Can you explain how exactly you want to set it up? A proper explanation would help. If possible, please send a screenshot as well.
Hi @ChrisKap ,
Go to Online Store, then Theme, and select Edit Code.
Search for base.css/theme.css/style.css/main.css/custom.css file Add the provided code at the end of the file.
.modal__container[data-wau-modal-full] .modal__inner-wrapper {;
height: 23% !important;
}
.modal__general-modal__wrapper .slideout__trigger--close {
top: 65px !important;
}
.modal__inner-content-container button.search-button {
background: black !important;
}
I am looking to add the search bar below header similiar to the last theme we had.
Here is a snapshot of the desktop:
Here is a snapshot of the mobile:
Thanks,
Chris
Hi @ChrisKap
If your theme doesn’t have this design in your store. You might need a developer to adjust the Liquid code to make the search bar visible in the header. Let us know if you’re interested. Thanks!
I am looking to add the magnifying glass to the mobile view.
Thanks,
Chris