Shopify themes, liquid, logos, and UX
Make banner larger in height so it covers the whole homepage, just like the desktop version. Thanks!
Solved! Go to the solution
This is an accepted solution.
Hi @MiguelMaya
To change the height of the banner on mobile, follow these steps
Step 1. Go to Admin -> Online store -> Theme > Edit code
Step 2. Find the file section-iamge-banner.css. Search for the following CSS snippet
@media screen and (max-width: 749px) {
.banner--large:not(.banner--mobile-bottom):not(.banner--adapt) .banner__content {
min-height: 39rem;
}
}
The number 39rem is currently limiting the maximum height that the banner can achieve. Please change it to a different number; here, I've chosen the number 67rem.
@media screen and (max-width: 749px) {
.banner--large:not(.banner--mobile-bottom):not(.banner--adapt) .banner__content {
min-height: 67rem;
}
}
Result
Then the issue of the text moving up will disappear.
If it helps you, please like and mark it as the solution.
Best Regards
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
This is an accepted solution.
Hi @MiguelMaya
To change the height of the banner on mobile, follow these steps
Step 1. Go to Admin -> Online store -> Theme > Edit code
Step 2. Find the file section-iamge-banner.css. Search for the following CSS snippet
@media screen and (max-width: 749px) {
.banner--large:not(.banner--mobile-bottom):not(.banner--adapt) .banner__content {
min-height: 39rem;
}
}
The number 39rem is currently limiting the maximum height that the banner can achieve. Please change it to a different number; here, I've chosen the number 67rem.
@media screen and (max-width: 749px) {
.banner--large:not(.banner--mobile-bottom):not(.banner--adapt) .banner__content {
min-height: 67rem;
}
}
Result
Then the issue of the text moving up will disappear.
If it helps you, please like and mark it as the solution.
Best Regards
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
looks neat. Can i add more space between the title and the button, still staying centered? Thanks!
Hi @MiguelMaya
Of course. Still in the file section-image-banner.css and add this code snippet to the end of the file
@media screen and (max-width: 750px) {
.banner__heading {
transform: translateY(-45px);
}
}
Result
Change the number -45 to see the difference.
If it's helpful, please like and mark it as a solution, thank you
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024