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

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

billonmaison
Tourist
18 0 3

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

Replies 3 (3)

Made4uo-Ribe
Shopify Partner
8202 1972 2410

Hi @billonmaison 

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:

Made4uoRibe_0-1726838366186.pngMade4uoRibe_1-1726838378894.png

 

 

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

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
billonmaison
Tourist
18 0 3

Is there anyway to move the email form and "coming soon" down to where the area and circle are pointing on mobile only?Screen Shot 2024-09-20 at 9.38.23 AM.png

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

 

Screen Shot 2024-09-20 at 9.32.29 AM.png

billonmaison
Tourist
18 0 3

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