Re: How to move navigation menu closer to the logo?

Solved

How to move navigation menu closer to the logo?

EdensBakehouse
Excursionist
21 0 9

EdensBakehouse_0-1733753748261.png

In Theme Editor,

The position of my logo is: central above.

I want to move the navigation menu closer to the logo.

 

Please help.

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
9574 2279 2828

This is an accepted solution.

Thanks for the info, try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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:

 

@media only screen and (min-width: 989px){
nav.header__inline-menu {
    margin-top: -20px !important;
}

h1.header__heading a.header__heading-link {
    padding-bottom: 0;
}
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1733754447112.png

     

 

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

Replies 5 (5)

Made4uo-Ribe
Shopify Partner
9574 2279 2828

Hi @EdensBakehouse 
Plase, share your store URL. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
EdensBakehouse
Excursionist
21 0 9

https://edensbakehouse.nl/

visitors password: yuidri

Made4uo-Ribe
Shopify Partner
9574 2279 2828

This is an accepted solution.

Thanks for the info, try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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:

 

@media only screen and (min-width: 989px){
nav.header__inline-menu {
    margin-top: -20px !important;
}

h1.header__heading a.header__heading-link {
    padding-bottom: 0;
}
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1733754447112.png

     

 

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
EdensBakehouse
Excursionist
21 0 9

It worked!

Thank you very much for the quick replies.

theycallmemakka
Shopify Partner
1770 432 453

Hi @EdensBakehouse ,

 

You are currently using a logo with excessive height. I recommend using a logo with reduced height. I have cropped your logo, and you can use this version to minimize the size of the header. Please download the logo below and use it.

Logo: https://cdn.shopify.com/s/files/1/0419/8504/8729/files/Logo_3_1.png?v=1733754615

To further reduce the spacing, you can follow the steps below:

Steps:

  1. Go to Online Store.
  2. Click Edit Code.
  3. Find the theme.liquid file.
  4. Add the following code just above the </body> tag.

 

<style>
.header:not(.header--middle-left,.header--middle-center) .header__inline-menu {
    margin-top: 0px!important;
}
</style>

 

theycallmemakka_0-1733754859434.png

 

If you need further assistance optimizing your store, please don’t hesitate to reach out. If you find this information helpful, a Like would be greatly appreciated. If this resolves your issue, please Mark it as Solution!

 

Best regards,
Makka

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com