Header/Image Banner squashed on mobile - Be Yours Theme

Topic summary

A user reported that after updating their homepage image, the header logo was displaying incorrectly or appearing squashed on mobile devices in the Be Yours theme.

Initial Solution Attempts:

  • One responder suggested adding CSS code to the base.css file targeting .banner__content and .header__heading-logo elements
  • This solution completely removed the image and didn’t resolve the text positioning issue

Working Solution:
Another contributor provided CSS code to be added to the theme.liquid file within the <head> element, which successfully fixed the mobile display issue.

Follow-up:
The original responder corrected their solution by providing a media query specifically targeting mobile devices (320px-767px width) with adjusted CSS for the banner content, padding, and background properties.

Status: Resolved - the user confirmed the second solution worked correctly.

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

Hi there,

I just updated the image on my homepage and now it’s squashing or not displaying the header (logo) correctly.

I have no idea how to fix it.

Could someone please assist?

https://www.merindahbotanicals.com.au/

Hi, @meld78 .

Follow These steps,

Go to the online store theme and go to base.css file paste the code mentiond below.

.banner__content {
    position: relative;
}

.header__heading-logo {
    width: 100%;
}

.banner__content.banner__content--middle-center.page-width {
    background: #edcfb5;
}

.banner__box {
    padding: 40px 30px;
}

Result:

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

thank you. Just tried this but it completely removed the image and also, I’d like the text on the image, not below. Is there a way to do that?

Go to your Online store > Themes > Edit code > open theme.liquid file, add this code below under element


1 Like

Amazing, thank you so much @Dan-From-Ryviu

1 Like

Happy I could help

sorry Add these media query codes.

@media (min-width: 320px) and (max-width: 767px) {

.banner__content {
    position: relative;
}

.header__heading-logo {
    width: 100%;
}

.banner__content.banner__content--middle-center.page-width {
    background: #edcfb5;
}

.banner__box {
    padding: 40px 30px;
}

}