Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
Header in supply theme provides 'minimalist' header with plenty of white space around logo and main menu buttons. I have reduced the size of the header itself by inputting piece of code as described in another help forum post.
.site-header {height:150px;padding:0; }
I now want to reduce the amount of white space at the base of the header below the horizontal main menu buttons. How do I do this?
Solved! Go to the solution
This is an accepted solution.
This is white space cropped logo.
Welcome to the Shopify community!
Please share your site URL,
So I will check and provide a solution here.
if you have front end password is confidential so please to a personal message as you like.
I have removed the password now so you should be able to access.
Thakns allo good
can you please resize logo on admin also add below code
.site-header { padding-bottom: 0; }
Hi,
I have never really edited code before so excuse the ignorance. Where do I place this bit of code please?
Sorry for that
please flow this step
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.
.site-header { padding-bottom: 0; }
This hasnt provided a solution - please see my site now. the header is only marginally smaller with vast amounts of white space.
Thanks for update.
can you please provide exactly issue screenshot so i will provide proper code.
Hi @emmakkk ,
I have checked your logo(https://cdn.shopify.com/s/files/1/0279/1237/2301/files/WEYMOUTH_S_1_360x.png?v=1593425996)
This logo has white space on top and bottom. I have uploaded white space cropped logo. Pls use this logo.
This is also added in your scss file(Online Store -> Actions-> Edit code -> Assets -> theme.scss.liquid)
This is an accepted solution.
This is white space cropped logo.
Hii, sir I need to reduce size of header logo. I have tried many codes but didn't work please help. Please check in mobile view, header looks big in mobile.
here is URL https://earthstore.in/
Thanks for post sorry i can't see any issue can you please how me
Thanks for your reply. Someone like you helped me in evening.
Great Thanks for update and support.
Hello, Thanks for your sharing.
But I am not sure which liquid file to edit?
I have the same issue my header size is quite big, it looks bad in mobile phones. can you please provide me with the code to reduce the header size. my site is www.quickhacks.in
sorry for this issue
1. Go to Online Store->Theme->Edit code
2. Asset->/timber.scss.liquid->paste below code at the bottom of the file.
@media only screen and (max-width: 768px) {
.site-header{padding: 0px;}
}
User | RANK |
---|---|
237 | |
97 | |
86 | |
51 | |
42 |