How do I fix my password page background image for mobile?

How do I fix my password page background image for mobile?

stateeden
Visitor
3 0 0

Hi - I'm trying to design my password page to look good on desktop and mobile. The desktop version looks great but the mobile version doesn't go full height or readjust. I've tried so many image sizes but can't get it to look good on mobile and desktop. I've already tried to add code to the password liquid page to make the background cover, but it didn't change anything.

 

website: stateedenclothing.com

 

Desktop: 

stateeden_2-1720547405635.png

 

mobile: 

stateeden_1-1720548057388.jpeg

 

 

 

 

 

Would appreciate any help. Thanks!

Replies 3 (3)

PageFly-Richard
Shopify Partner
4439 1016 1669

Hi @stateeden 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
@media (max-width: 767px) {
.banner--adapt, .banner--adapt_image.banner--mobile-bottom .banner__media:not(.placeholder) {
    height: 100vh;
}
}
</style>

PageFlyRichard_0-1720573891321.png

 

 

With the code above, the section now will stretch to fill the screen, but you might need another image with dimension for mobile.

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly 

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

stateeden
Visitor
3 0 0

Thank you Richard. I pasted the code in the theme.liquid file, but nothing changed for the mobile background. It still looks exactly the same. 

Here's the code I pasted: 

stateeden_1-1720587491146.png

 

stateeden
Visitor
3 0 0

@PageFly-Richard Hi Richard just checking to see if you had any other ideas? Thank you!