Shopify themes, liquid, logos, and UX
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:
mobile:
Would appreciate any help. Thanks!
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>
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!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
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:
@PageFly-Richard Hi Richard just checking to see if you had any other ideas? Thank you!
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025