How to eliminate header padding in the Dawn theme?

Solved

How to eliminate header padding in the Dawn theme?

milkymotorsport
Explorer
97 0 15

https://milkymotorsports.com/

Can someone pls provide code to remove the small amount of padding in between my logo and menu?

Screenshot 2023-11-14 at 12.02.17 PM.png

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
6961 1655 2038

This is an accepted solution.

Hi @milkymotorsport 

Thanks for the info. Please 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:

 

@media screen and (min-width: 990px) {
.header:not(.header--middle-left,.header--middle-center) nav.header__inline-menu {
    margin-top: 0;
}
}

 

  • And Save. 
  • Result
  • Made4uoRibe_2-1699993247086.png

     

 

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

 

 

 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Reply 1 (1)

Made4uo-Ribe
Shopify Partner
6961 1655 2038

This is an accepted solution.

Hi @milkymotorsport 

Thanks for the info. Please 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:

 

@media screen and (min-width: 990px) {
.header:not(.header--middle-left,.header--middle-center) nav.header__inline-menu {
    margin-top: 0;
}
}

 

  • And Save. 
  • Result
  • Made4uoRibe_2-1699993247086.png

     

 

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

 

 

 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.