How to remove the large white box below the header on mobile site?

Hello, I can’t find a solution for a problem on my Mobile site, Their is a big white box under the header, which I cant see where or how to change this. At the desktop site their is just a small gap between header and banner, thats fine… but this is to big on mobile version. I have uploaded the screenshot. Linl = (verivendi.nl)

2 Likes

Hi @VeriVendi

Try 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 “Assets” folder, click on “base.css, style.css or theme.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:
@media only screen and (max-width: 1025px) {
.holder.mt-global {
    margin-top: 0px;
}
}

I hope it help.

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

Hey @VeriVendi

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

1 Like

Look at the picture, I changed the style css, but didn’t do anything on my mobile.

1 Like

If its not working please use this one.

@media only screen and (max-width: 1025px) {
.holder.mt-global {
    margin-top: 0px !important;
}
}

And refresh your browser.

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!