Shopify themes, liquid, logos, and UX
I put text over the image and made it a transparent text box on desktop version adding this to custom css:
.banner__box.content-container {
background: transparent !important;
}
.banner__box.content-container * {
color: white !important;
}
.banner__box.content-container .banner__buttons a {
background: transparent !important;
}
But it doesn't work for the mobile version. How can I put the text on top of the photo for the mobile version as well? My website is: oliveandhaze.com
Solved! Go to the solution
This is an accepted solution.
Hi @annanguyen , Go to section-image-banner.css file and add the following code to it :
@media(max-width:600px){
.banner__box.content-container.content-container--full-width-mobile.color-scheme-1.gradient {
bottom: 25rem !important;
}
}
This is an accepted solution.
Hi @annanguyen , Go to section-image-banner.css file and add the following code to it :
@media(max-width:600px){
.banner__box.content-container.content-container--full-width-mobile.color-scheme-1.gradient {
bottom: 25rem !important;
}
}
Now there is a large blank space at the bottom of the image. How do I get rid of that? Thanks!
@annanguyen , Add the following code :
@media(max-width:700px){
.banner--mobile-bottom:not(.banner--stacked) .banner__content {
order: 2;
height: 0 !important;
}
}
In Canada, payment processors, like those that provide payment processing services t...
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