Header height setting

Solved

Header height setting

jan_v
New Member
8 0 0

Snímek obrazovky 2025-02-17 v 19.56.43.png

Dobrý den, mám dotaz jak zúžit hlavičku? Zkoušel jsem už skoro všechno.. Rád bych, aby mezi horním panelem a spodní lištou nebylo tolik protoru, díky za odpovědi, Motiv Verze Dawn 15.2.0

 

Accepted Solution (1)
CodingFifty
Shopify Partner
901 134 164

This is an accepted solution.

Go to Online Store, then Theme, and select Edit Code.
Search for header.liquid file Add the provided code at the end of the file.

<style>
@media (min-width: 769px){
.header__heading-logo {
    height: 19vh !important;
    max-width: 100%;
}

a.header__heading-link.link.link--text.focus-inset {
    padding: 0px !important;
}

nav.header__inline-menu {
    margin: 0px !important;
}
}
</style>

 

Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com

View solution in original post

Replies 8 (8)

CodingFifty
Shopify Partner
901 134 164

Hi @jan_v,

 

Thank you for reaching out to the Shopify community. I'd be glad to assist you. Could you kindly share your store URL and
password (if it’s password-protected) so I can review it and provide you with an update?

Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com
jan_v
New Member
8 0 0
CodingFifty
Shopify Partner
901 134 164

Hi @jan_v,

 

Go to Online Store, then Theme, and select Edit Code.
Search for base.css/theme.css/style.css/main.css/custom.css file Add the provided code at the end of the file.

@media (min-width: 769px){
.header__heading-logo {
    height: 19vh !important;
    max-width: 100%;
}

a.header__heading-link.link.link--text.focus-inset {
    padding: 0px !important;
}

nav.header__inline-menu {
    margin: 0px !important;
}
}
Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com
jan_v
New Member
8 0 0
All I can find is base.css and finally I put in the code you provided
but I can't seem to make the header smaller
 
 
Snímek obrazovky 2025-02-17 v 20.47.45.png

CodingFifty
Shopify Partner
901 134 164

CodingFifty_0-1739821879664.png

 

Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com
jan_v
New Member
8 0 0
I'm just solving that I want to keep the size of the logo and I just want to reduce the gap
 
 
CodingFifty
Shopify Partner
901 134 164

If you crop the logo image before uploading, the gap will be fixed.

Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com
CodingFifty
Shopify Partner
901 134 164

This is an accepted solution.

Go to Online Store, then Theme, and select Edit Code.
Search for header.liquid file Add the provided code at the end of the file.

<style>
@media (min-width: 769px){
.header__heading-logo {
    height: 19vh !important;
    max-width: 100%;
}

a.header__heading-link.link.link--text.focus-inset {
    padding: 0px !important;
}

nav.header__inline-menu {
    margin: 0px !important;
}
}
</style>

 

Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com