Shopify themes, liquid, logos, and UX
In the screenshot below the menu nav in the header is below the logor and the icons. I would like it to appear inline with them. I'm using the Enterprise theme. Can anyone provide an HTML or CSS solution? Thanks.
Solved! Go to the solution
This is an accepted solution.
Hi @TH8,
Please go to Actions > Edit code > Assets > main.css file and paste this at the bottom of the file:
@media (min-width: 769px) {
.main-menu {
order: 1;
width: auto;
}
.header.search-is-visible .main-menu {
display: none;
}
.header__search {
display: none;
}
.header.search-is-visible .header__search {
display: block;
}
}
Hi @TH8,
Please send the website link, I will check it for you
Hi @TH8,
I tested and when you move, the search will show an overlay menu when enabled.
Not sure why you're pointing that out? I want to move the navigation elements in line with the logo and icons. I chose to minimize the search bar
Or are you saying that when the nav elements are moved up, when the search icon is clicked they move below to show the search bar?
Hi @TH8,
You want this:
I am referring to clicking the search icon, it will show something like this right?
Please let me know, I will check it.
That is correct. I could disable search, we only have a small inventory
I could disable search - we only have a small inventory
This is an accepted solution.
Hi @TH8,
Please go to Actions > Edit code > Assets > main.css file and paste this at the bottom of the file:
@media (min-width: 769px) {
.main-menu {
order: 1;
width: auto;
}
.header.search-is-visible .main-menu {
display: none;
}
.header__search {
display: none;
}
.header.search-is-visible .header__search {
display: block;
}
}
Fantastic, thanks. I'll disable search for now.
Hi @TH8,
You're welcome and happy to help 😊
Learn 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, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025