Shopify themes, liquid, logos, and UX
Hello! Im trying to put a search bar or the icon that the template "sense" has but on the top of my menu in the center of the header, how can I do that??
Thanks!!
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file base.css
Step 3: Paste the below code at bottom of the file -> Save
.header.header--top-center.header--mobile-center.page-width.header--has-menu {
position: relative;
}
.header__search {
position: absolute;
right: -100%;
top: 70%;
}
Doesn't work 😞
Hi @EvaMtz,
Please go to Actions > Edit code > Assets > base.css file and paste this at the bottom of the file:
@media screen and (min-width: 990px) {
.header--top-center {
grid-template-areas:
'heading left-icon icons'
'navigation navigation navigation' !important;
}
.header--top-center > .header__search {
justify-self: center !important;
}
}
Hope it helps!
Thanks but still not working 😕
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025