I want my background image on both my password page, and homepage to extend to the footers of both

Topic summary

A user seeks to extend background images to the footer on both homepage and password pages (mobile and desktop). Previous CSS workarounds found in the community haven’t worked.

Solution Provided:

  • Add background to main container instead of banner section
  • Navigate to Online Store > Themes > Assets > main.css (or base.css/style.css)
  • Insert custom CSS at bottom of file to:
    • Hide banner media display
    • Apply background image to .password-main with full viewport height
    • Style password footer with transparent background and negative top margin

Follow-up Issues:

  • User reports desktop page displays correctly after applying CSS
  • On mobile, email form and “coming soon” text need repositioning (user provided screenshots showing desired placement)
  • Awaiting response on how to adjust mobile-specific positioning while maintaining desktop layout
Summarized with AI on November 5. AI used: claude-sonnet-4-5-20250929.

Hello Shopify Community!

I want my background images on my homepage and password page to extend to the footers on both pages for mobile and desktop versions. Currently they only extend to the header but every other coding workaround that I’ve seen on the community page here that I have tried hasn’t worked yet.

Theme: Origin

URL: billon.maison

1 Like

Hi @MaisonBillonDon

I add change the background not from the banner. I add it on the main background.

Check this one.

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

div#Banner-template--15894320971842__main .banner__media.media {
    display: none;
}

.password-main {
    display: block;
    background: url("https://billon.maison/cdn/shop/files/BB-22_7fb348e2-67d9-461d-83c5-61a6d1dfac7b.jpg?v=1726783816&width=1100") no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 100vh;
}

div#shopify-section-main-password-footer .password__footer {
    background: transparent;
    margin-top: -120px;
}

And Save.

Result:

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

Is there anyway to move the email form and “coming soon” down to where the area and circle are pointing on mobile only?

Also after using that line of code at the bottom of my base.css, this was the result of the desktop page.

Hello, I’ve described an issue I am having. Do you think there is a way to fix the two things I mentioned.