emr10 reacted to
tuanphan in Banner Image Won't Resize for Mobile View
First, remove your code (this code for SS 7.0, your site is 7.1)
@media screen and (max-width: 640px) {
.Parallax-item:first-child img {
width:100% !important;
height: auto !important;
left: 0 !important;
top: 0 !important;
}
section#about-intro {
min-height: unset !important;
height: 180px;
}
}
Add this new code
/* resize home top banner mobile */
@media screen and (max-width:767px) {
body.homepage #page section:first-child {
min-height: 20vh !important;
height: 90vh;
}
body.homepage #page section:first-child img {
object-position: 15% !important;
}
}