@tuanphan thanks! It seems off though. Your provided CSS was able to contain the image to the mobile screen width, but not make it fullscreen. See the before and after screenshots attached.
Here is all the CSS that we have used for this Pop Up. Maybe there is a conflict within it? We were first able to use the CSS to add an image. Then we made the close buttons disappear. Now we are trying to make the mobile popup fullscreen. I'm wondering if we had the order incorrect? Or there is a typo somewhere?
/* popup close X */
.sqs-popup-overlay-close {
opacity: 0 !important;
}
/* popup close X mobile */
.sqs-slide-wrapper[data-slide-type="popup-overlay"] .sqs-slide-container[data-slide-type="popup-overlay"] .sqs-popup-overlay-close:before {
opacity: 0 !important;
}
/* Mobile popup full image */
@media screen and (max-width:767px) {
.sqs-slide-wrapper[data-slide-type="popup-overlay"] [data-slice-type="gallery"] .sqs-slice-gallery-item.loaded img {
object-fit: contain !important;
}
}
Promo Popup: Image background not showing on mobile
in Fonts, colors and images
Posted
Hey, thank you so much. It worked for me.