Get rid of White space on header

Shopify Partner
92 1 14

Hi I want to get rid of the space on the bottom of the navigation menu between that and the banner. 


Preview link:


Screen Shot 2023-06-05 at 4.22.36 PM.png

Replies 4 (4)
Shopify Partner
1242 197 190

@shellbell add below css into base.css file 

@media (min-width:769px)
div#StickyHeaderWrap {
    height: 0px !important;
.site-header {
    padding: 0px !important;



Shopify Partner
92 1 14

If I do that it clips my banner though and I don't want that to happen

Shopify Expert
5057 902 1205

Hello There,

1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > custom.css and paste this at the bottom of the file:

header#SiteHeader {
    padding: 0;
div#StickyHeaderWrap {
    height: auto!important;



Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Shopify Apps URL :-
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing
Shopify Partner
2576 552 699

Hi @shellbell ,

I understand that you want to get rid of the space on the bottom of the navigation menu between that and the banner.

The cause of the white space on that area are the larger height in the head sticky wrapper. I take out the extra height. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "Assets" folder, click on "theme.scss.liquid, styles.scss.liquid or base.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
  4. And Save.


@media only screen and (min-width: 1024px){
div#HeaderWrapper {
    height: 248px;
header#SiteHeader {
    padding-bottom: 0px;


  • Result:
  • Ribe_Dagandara_0-1685958028913.png

    I hope it help. 

Please don't forget to 



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