make header smaller for desktop, dawn theme

Solved

make header smaller for desktop, dawn theme

ads18922
Pathfinder
168 0 50

hello, i want to make my header smaller for my desktop, the mobile is fine

website is www.alexandrawestbrook.com 

Accepted Solution (1)

Bhumii
Tourist
5 1 0

This is an accepted solution.

From your shopify admin go to customizaion, in the customization you can see the header click on the header in the header you can see padding top and padding bottom setting set padding top and padding bottom 8-8

Bhumii_0-1742232260890.png

If you need any help please let me know.
Thank You!

 

View solution in original post

Replies 5 (5)

thescriptflow
Shopify Partner
611 41 81

Hey @ads18922 I hope you are doing well.

In order to make header smaller on Mobile the paste the following code in the end of base.css file.

@media only screen and (max-width: 767px){
.header {
    padding: 0px 3rem 0px 3rem !important;
}
}

Result:

qasimdevloper_0-1742230872188.png

If you need more help let me know.

Thanks

- Need a Shopify Specialist? Chat on WhatsApp Or Email at info@thescriptflow.com

- Boost Your Sales with Affiliate Marketing - UpPromote: Affiliate & Referral


- If my solution was helpful, mark it as a solution and hit the like button! And Wait Don't forget to Buy me a Coffee

ads18922
Pathfinder
168 0 50

read my post again, i said mobile is fine i just want desktop

Michael-Thomas
Shopify Partner
86 16 22

@ads18922 Take a look at my reply below. It should only apply to desktop. 

Found this helpful? Please Like & Mark as Solution — I truly appreciate it!
Connect with me | Get a Shopify Store with an Unlimited Free Trial – No Credit Card Needed! | ❤️ Support my work, If You’d Like!

Bhumii
Tourist
5 1 0

This is an accepted solution.

From your shopify admin go to customizaion, in the customization you can see the header click on the header in the header you can see padding top and padding bottom setting set padding top and padding bottom 8-8

Bhumii_0-1742232260890.png

If you need any help please let me know.
Thank You!

 

Michael-Thomas
Shopify Partner
86 16 22

Hi @ads18922 

 

So your logo has extra spacing in it, I would suggest cutting out that extra space. I did the honour for you and attached the logo with the extra white space cut out. 

 

You can try adding this CSS into header > custom CSS block. 

 

.header{padding-block:8px!important}
.header__heading-logo{max-height:35px}

 

Hope that helps. 

 

 

 

 

 

Found this helpful? Please Like & Mark as Solution — I truly appreciate it!
Connect with me | Get a Shopify Store with an Unlimited Free Trial – No Credit Card Needed! | ❤️ Support my work, If You’d Like!