Solved

How To Reduce Header Size In Impulse Theme?

trafalgo
Tourist
15 0 1

Hello, I want to reduce the header size since there is a bit of empty space. Without removing it, the header seems too big. My website is yukai-project.com and the password is:30flash!trafalgo_0-1707597244671.png

 

Thank you in advance!

Accepted Solution (1)

ThePrimeWeb
Shopify Partner
1172 305 232

This is an accepted solution.

Hey @trafalgo,

 

Use this 😊

 

Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.

<style>
h1.site-header__logo {
    margin: 0;
}

header#SiteHeader {
    padding: 5px 0 !important;
}
</style>

 

Screenshot is for reference only, the correct code to paste is the one shown above.

ThePrimeWeb_0-1707597918893.jpeg

 

Was I helpful?

Buy me a coffee

🙂

Need help with your store? contact@theprimeweb.com or check out the website

View solution in original post

Replies 4 (4)

Made4uo-Ribe
Shopify Partner
5127 1224 1498

Hi @trafalgo 

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 "theme. Liquid" file. Find the </body> tag and paste the code below before the tag. 

 

<style>
@media only screen and (min-width: 749px){
header#SiteHeader {
    padding: 0px;
}
}
</style>

 

And Save. 

Result:

Made4uoRibe_0-1707597874791.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


trafalgo
Tourist
15 0 1

Thank you very much, this and the other solution work! 

ThePrimeWeb
Shopify Partner
1172 305 232

This is an accepted solution.

Hey @trafalgo,

 

Use this 😊

 

Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.

<style>
h1.site-header__logo {
    margin: 0;
}

header#SiteHeader {
    padding: 5px 0 !important;
}
</style>

 

Screenshot is for reference only, the correct code to paste is the one shown above.

ThePrimeWeb_0-1707597918893.jpeg

 

Was I helpful?

Buy me a coffee

🙂

Need help with your store? contact@theprimeweb.com or check out the website
trafalgo
Tourist
15 0 1

Thank you very much, both solutions work, but this one removed more of the header!