A user seeks help adjusting product page image popup sizes that appear too large on desktop (requiring scrolling) and too small/off-center on mobile devices.
Multiple CSS Solutions Provided:
Several developers offered code snippets to resolve the issue:
Option 1: Custom CSS added to theme.liquid that controls modal dimensions and removes excess whitespace
Option 2: Modification to section-main-product.css setting popup width to 25% on desktop screens (min-width: 750px)
Option 3: Alternative theme.liquid code targeting both desktop and mobile responsiveness
User Feedback:
The original poster tested at least one solution but rejected it due to excessive white space around the image.
Status: The discussion remains open with multiple alternative solutions proposed but no confirmed resolution marked. All solutions involve adding CSS code to theme files, with variations in approach and styling outcomes.
Summarized with AI on October 27.
AI used: claude-sonnet-4-5-20250929.
Hi, could you help me adjust the image popup size on the product page?
On laptop, it’s too big and people have to scroll.
On mobile, it’s too small and sometimes off-center.
I want it to show the full image properly on all devices — not too big, not too small.
Hello @Senku
Go to online store ----> themes ----> actions ----> edit code ----> assets —> section-main-product.css
add this code at the end of the file and save.
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Use our Big Bulk Discount app to boost your sales! (https://apps.shopify.com/big-bulk-discount). Easy to set up and perfect for attracting more customers with bulk discounts. Try it now and watch your revenue grow!