how to remove the white space above the image banner shopify

Topic summary

A user encountered unwanted white space above an image banner on their Shopify store and sought help removing it.

Solution provided:

  • Access Online Store → Edit Code → theme.liquid file
  • Insert custom CSS code above the </body> tag to eliminate the spacing
  • The code targets margin/padding adjustments for the banner element

Outcome:
After initially reporting the fix didn’t work, the user reloaded their site and confirmed the white space was successfully removed. The issue appears resolved through this CSS modification to the theme file.

Summarized with AI on November 5. AI used: claude-sonnet-4-5-20250929.

Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.