How to eliminate more header padding in the Dawn theme when padding is set to 0px

Solved

How to eliminate more header padding in the Dawn theme when padding is set to 0px

RitzTheater
Tourist
4 0 2

Hello,

 

I am trying to remove more padding from my header on my website, even though padding is already set to 0px. Is there a way to do this? My mobile header is still too thick. Website below:

 

https://www.ritzclearfield.com/

Accepted Solution (1)

BSSCommerce-B2B
Shopify Partner
1972 564 568

This is an accepted solution.

@RitzTheater, I think the reason is your logo is quite big 

BSSCommerceB2B_0-1729005057266.png

You can reduce the height of your logo by following these steps

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head>

<style>
.header__heading .header__heading-link {
   padding-top: 0;
   padding-bottom: 0;
}
.header__heading .header__heading-logo {
    object-fit: cover;
    aspect-ratio: 3 / 2;
}
</style>

If it helps you, please like and mark it as the solution.

Best Regards 😊

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

View solution in original post

Replies 4 (4)

Made4uo-Ribe
Shopify Partner
10137 2405 3039

Hi @RitzTheater 

If you like it more thinner you need to resize the image logo. 

Made4uoRibe_0-1729006067265.png

If we adjust the logo, it will be thinner. 

Made4uoRibe_1-1729006099430.png

 

 

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.

BSSCommerce-B2B
Shopify Partner
1972 564 568

This is an accepted solution.

@RitzTheater, I think the reason is your logo is quite big 

BSSCommerceB2B_0-1729005057266.png

You can reduce the height of your logo by following these steps

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head>

<style>
.header__heading .header__heading-link {
   padding-top: 0;
   padding-bottom: 0;
}
.header__heading .header__heading-logo {
    object-fit: cover;
    aspect-ratio: 3 / 2;
}
</style>

If it helps you, please like and mark it as the solution.

Best Regards 😊

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

RitzTheater
Tourist
4 0 2

Thanks so much! That worked!

namphan
Shopify Partner
2689 349 398

Hi @RitzTheater,

Please go to Actions > Edit code > Assets > base.css file and paste this at the bottom of the file:

.header__heading-link {
    padding: 0;
}
Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com