Issue with header overlapping banner/text on home screen help!

Topic summary

A Shopify store owner encountered a header overlapping issue with their homepage banner, specifically affecting the mobile version of their site (twistedtreebrewery.com). Desktop display appeared normal.

Solutions Provided:

  • CSS approach: Add custom code to the base.css file targeting the banner box element with a 70px top margin
  • Alternative method: Insert CSS code in the theme.liquid file before the closing </head> tag

Both solutions involved adding custom CSS to create spacing between the header and banner elements on mobile devices.

Resolution: The issue was successfully resolved using one of the provided CSS fixes. The thread is now closed with the problem solved.

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

The image banner is overlapping the header on my homepage and shopify help have stated I need to do some custom coding to rectify. Can anybody help? Twistedtreebrewery.com

Hi @Twistedtreebr i see it’s normal. Please double check on this

Sorry I should have mentioned it is only on the mobile version.

Hi @Twistedtreebr

You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file base.css and add this code at the end of the file

.banner__box.content-container.content-container--full-width-mobile.color-scheme-4.gradient {
    margin-top: 70px !important;
}

Result:

Best,

Liz

1 Like

Hi @Twistedtreebr

  1. Go to Online Store → Theme → Edit code.
  2. Open your theme.liquid file
  3. In theme.liquid, paste the below code before

If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!

Amazing all sorted now thanks so much for your help!

Hi! I have the same issue on my mobile page as well. I’ve posted the initial code at the end of base.css, but the code you listed here doesn’t show up. The image banner and header are totally overlapped on mobile. It is also overlapped on the desktop page, but it’s worse on mobile.