ORIGIN THEME slideshow height just / removing invisible box

ORIGIN THEME slideshow height just / removing invisible box

gmuink
Explorer
53 0 9

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

 

Screenshot 2025-04-04 at 3.53.06 PM.png

Thank you.

Replies 4 (4)

Dotsquares
Shopify Partner
388 23 52

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.


Shopify Partner Directory | Trustpilot | Portfolio
gmuink
Explorer
53 0 9

@Dotsquares  Thank you but it did not work on my end.

Rahul_dhiman
Shopify Partner
808 155 169

Hello @gmuink 

 
Go to online store ----> themes ----> actions ----> edit code ----> assets ----> section-image-banner.css
add this code at the end of the file and save.
@media screen and (max-width: 749px) {
.banner--mobile-bottom:not(.banner--stacked) .banner__content {
display: none !important;
}
}​
result
98.png
If this was helpful, hit the like button and accept the solution.
Thanks
Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront

Contact here


BEST CUSTOMER ACCOUNTS APP WITH CUSTOM WISHLIST OPTION 
TRY OUR APP :

PWC: Customer Accounts & Pages

gmuink
Explorer
53 0 9

@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?