Hello I’ve searched for css coding online but no prevail. I would like to fit the banner image for mobile for the text image in the center to fit the entire screen?
Thanks
You store link please
Thank you!
Go to your Online store > Themes > Customize > select Slideshow section and then add those code in Custom CSS of that section
@media (max-width: 767px){
.slideshow__media { height: fit-content !important; }
.slideshow__media img { object-fit: contain !important; }
.banner--mobile-bottom .slideshow__text.banner__box { display: none !important; }
}
Please update code to this
@media (max-width: 767px){
.slideshow__media { height: 22rem !important; }
.slideshow__media img { object-fit: contain !important; }
.banner--mobile-bottom .slideshow__text.banner__box { display: none !important; }
}
Thank you so much! It worked!
Very nice to hear from you. Have a great weekend
You as well. Thanks again!