Shopify themes, liquid, logos, and UX
Hi,
When on mobile, there is invisible box underneath the image I can't get rid of. Can someone help me on this? I am using Origin Theme.
https://itisoukay.com/products/sample
Thank you.
hi @gmuink
The invisible box under the image might be caused by an empty container, extra padding, or a div that isn't rendering content but is still taking up space.
You can try adding the following CSS to your theme's custom CSS or in the Theme > Customize > Edit code section under base.css (or theme.css, depending on your theme):
@media only screen and (max-width: 749px) {
.product__media-wrapper {
margin-bottom: 0 !important;
padding-bottom: 0 !important;
}
.product__media-wrapper > *:empty {
display: none !important;
}
}
This CSS removes any unnecessary bottom spacing and hides any empty elements inside the product media wrapper on mobile.
Dotsquares Ltd
Problem Solved? ✔ Accept and Like solution to help future merchants.
Hello @gmuink
@media screen and (max-width: 749px) {
.banner--mobile-bottom:not(.banner--stacked) .banner__content {
display: none !important;
}
}
@Rahul_dhiman Thank you. It did remove the empty space but does not affect desktop view. I see the slideshow on both desktop and mobile view. Can we hide this on desktop view?
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025