Shopify themes, liquid, logos, and UX
Hi there!
How can I move the menu to the left to be side by side with the Logo?
https://kingdompetshop.com/collections/dog-collars-leashes
Theme: Refresh
Pw: abcd
Solved! Go to the solution
This is an accepted solution.
Hi @kingdom2 ,
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>
@media screen and (min-width: 990px) {
.header--top-center {
grid-template-areas: "left-icons navigation heading icons";
grid-template-columns: auto 1fr 1fr 1fr;
}
.header:not(.header--middle-left,.header--middle-center) .header__inline-menu {
margin-top: 0;
}
}
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Hi, the easiest way to change the logo location is to use the settings as shown in the print screen
Thanks for your answer.
I was playing before with that option, what happens is that if I select left, everything (logo+menu) goes to the left if I put center, everything goes to the center, they are coupled.
How can I decouple the logo from the menu?
Hi @kingdom2
Do you mean like this?
If it is check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes"
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag.
<style>
@media screen and (min-width: 990px) {
.header--top-center {
grid-template-areas:
"left-icons navigation heading icons";
}
.header {
grid-template-columns: auto 1fr auto 1fr;
}
}
</style>
And Save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @kingdom2,
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: "left-icons navigation heading icons";
grid-template-columns: auto 1fr 1fr 1fr;
}
.header:not(.header--middle-left,.header--middle-center) .header__inline-menu {
margin-top: 0;
}
}
it will show like this:
This is an accepted solution.
Hi @kingdom2 ,
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>
@media screen and (min-width: 990px) {
.header--top-center {
grid-template-areas: "left-icons navigation heading icons";
grid-template-columns: auto 1fr 1fr 1fr;
}
.header:not(.header--middle-left,.header--middle-center) .header__inline-menu {
margin-top: 0;
}
}
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Thanks a lot @topnewyork !
I accepted the solution, the only detail is that the code goes at the bottom of base.css and not theme.liquid but for the rest amazing!
Thanks a lot!
Hi @kingdom2,
So it is 100% as I described 😊
Have you tried reading it?
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025