Solved

Reduce white space between logo and menu

yalostore
Excursionist
33 0 8

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 

Screenshot 2023-09-14 125231.png

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
5088 1211 1482

This is an accepted solution.

Hi @yalostore 

Try 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:

 

a.header__heading-link.link.link--text.focus-inset {
    padding-bottom: 0px;
}
#shopify-section-sections--20972431081768__header > div > header > nav {
    margin-top: 0px !important;
}

 

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

     

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


View solution in original post

Replies 12 (12)

Made4uo-Ribe
Shopify Partner
5088 1211 1482

This is an accepted solution.

Hi @yalostore 

Try 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:

 

a.header__heading-link.link.link--text.focus-inset {
    padding-bottom: 0px;
}
#shopify-section-sections--20972431081768__header > div > header > nav {
    margin-top: 0px !important;
}

 

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

     

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


yalostore
Excursionist
33 0 8

thank you so much!!!

This helped me a lot

Bodeane
Tourist
4 0 3

Hi, I have tried this but it doesn't seem to work. In sense theme --> base.css. Nothing happens.

Made4uo-Ribe
Shopify Partner
5088 1211 1482

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


Bodeane
Tourist
4 0 3

Hi, thanks for your quick reply. Hereby my link: https://b805c8.myshopify.com/

Made4uo-Ribe
Shopify Partner
5088 1211 1482

Its password protected. 

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


Bodeane
Tourist
4 0 3

Made it 1112 for you

Made4uo-Ribe
Shopify Partner
5088 1211 1482

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:

Made4uoRibe_0-1707687031500.png

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


Bodeane
Tourist
4 0 3

Thanks it worked!

Made4uo-Ribe
Shopify Partner
5088 1211 1482

Welcome, Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


Summar
Tourist
3 0 1

Hi ! both solutions didn't work for me - can you help? 

summar.co.uk

Made4uo-Ribe
Shopify Partner
5088 1211 1482

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:

Made4uoRibe_0-1707938070564.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com