We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Re: Dawn-Header-Resize

How can I adjust the header height in the Dawn theme?

Ahmed46
Tourist
6 0 0

hello,

 

I have a question. I'm trying to adjust/reduce the height of the header in the dawn theme and have endlessly tried to find the section in base.css - I've tried different methods but no code I'm using {the works on other themes I've used{ seems to work.
I'm trying to find and reduce the default head height.


Any suggestions?

Replies 5 (5)

suyash1
Shopify Partner
11112 1367 1751

@Ahmed46 - we can use CSS, can you share your site link?

To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com
Ahmed46
Tourist
6 0 0

Hey, @suyash1thank for the Reply.

www.numpli.com

suyash1
Shopify Partner
11112 1367 1751

@Ahmed46 - check this logo link - https://cdn.shopify.com/s/files/1/0613/4697/1839/files/jpeg-removebg-preview_130x.png?v=1646059832

 

you can see the space around actualy logo, please remove that space and header height will automatically reduced a bit, then add this given css to the end of your base.css file and check

@media screen and (min-width: 990px){
.header {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
}
To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com
Ahmed46
Tourist
6 0 0

thanks but that didn't work. I removed the background but the header doesn't look good @suyash1 

AvadaCommerce
Shopify Partner
3879 840 1007

Hi @Ahmed46 ,

 

You can follow the instruction below:

1. Go to Online Store->Theme->Edit code
2. Asset->/base.css->paste below code at the bottom of the file:

@media (min-width: 990px) {
    .header {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.

banned