Dawn Theme Image Being Cutoff On Phone even after putting code in

toreGH
Visitor
1 0 0
I am tryna have a different photo as banner on phone vs different photo as banner on desktop. I tried this code:
}
@media screen and (max-width: 749px) {
.banner__media:first-child {
display: none;
}
.banner__media+.banner__media {
width: 100%;
display: block !important;
}

But it cuts off my second pic.
Please help me achieve the result that in third pic for my phone
and result that's in second pic is good for my desktop.
Screenshot 2024-01-28 161105.pngScreenshot 2024-01-28 161147.pngScreenshot 2024-01-28 161247.png

 

Replies 0 (0)