Shopify themes, liquid, logos, and UX
Hey!!
I would like to reduce the space between my logo and the navigation menu. I just would like it to be shorter. Im using Dawn Theme.
I attached a screenshot so you can see what im talking about 🙂
Thank you in advance for your help
Solved! Go to the solution
This is an accepted solution.
Hi @yalostore
Try this one.
a.header__heading-link.link.link--text.focus-inset {
padding-bottom: 0px;
}
#shopify-section-sections--20972431081768__header > div > header > nav {
margin-top: 0px !important;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This is an accepted solution.
Hi @yalostore
Try this one.
a.header__heading-link.link.link--text.focus-inset {
padding-bottom: 0px;
}
#shopify-section-sections--20972431081768__header > div > header > nav {
margin-top: 0px !important;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
thank you so much!!!
This helped me a lot
Hi, I have tried this but it doesn't seem to work. In sense theme --> base.css. Nothing happens.
Hello @Bodeane
This code is for the one who posted the problem, your store might have a different code. Would you mind to share your store URL? Thanks!
Its password protected.
Made it 1112 for you
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 "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
nav.header__inline-menu {
margin-top: -10px !important;
}
h1.header__heading a {
padding-bottom: 0px;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Thanks it worked!
Welcome, Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi ! both solutions didn't work for me - can you help?
summar.co.uk
Hi @Summar
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 "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
nav.header__inline-menu {
margin-top: 0px !important;
}
a.header__heading-link.link.link--text.focus-inset {
padding-bottom: 0px !important;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hello. Can you please help me. I have a problem with the mobile version of the menu. The navigation menu should be closer to the logo, because the distance between the logo and the menu is too large. (See screenshot) - https://mi6studio.myshopify.com/
I'm facing the same issue in my shop, however it is on the mobile version between the logo on the left and the navigation menu. Do you know how I could solve this (refresh theme)?
Thank you!
Hello @DTours
Can i check your store? Would you mind to share your store URL? Thanks!
Hi @Made4uo-Ribe,
thank you for the repy!
The URL is dunk-tours.de and the password is "topnewyork". I'm also attaching a picture to visualize the issue:
Thank you!
Thanks for the info, do you mean like this?
if it is check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
@media screen and (max-width: 750px) {
.header-wrapper .header {
grid-template-columns: auto 1fr;
}
}
And Save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @Made4uo-Ribe,
that's exactly it, thank you so much!!! 🙂
Would it also be possible to push the header a little bit up on the mobile view?
Sure, replace with this code then.
@media screen and (max-width: 750px) {
.header-wrapper .header {
grid-template-columns: auto 1fr;
}
a.header__heading-link.link.link--text.focus-inset {
padding-bottom: 18px;
}
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This one worked as well, just changed the padding a little bit 🙂 Thanks again for your help!
I had opened another thread about this issue but did not get any working codes. If it helps you somehow, you could post the code there and I will mark your reply as solution 🙂 Here is the thread:
https://community.shopify.com/c/shopify-design/navigation-and-logo-all-the-way-to-the-left-refresh-t...
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025