Padding and size on images

Topic summary

A user seeks to reduce the width of four product page images and increase spacing between them on their Shopify store.

Solution Provided:

  • Edit the theme.liquid file in the code editor
  • Insert custom CSS code above the closing tag
  • The CSS targets product images to adjust width and padding

Outcome:
The solution successfully resolved the issue. The original poster confirmed the fix worked as intended.

Note: The conversation includes code snippets and screenshot references that demonstrate the implementation steps.

Summarized with AI on November 4. AI used: claude-sonnet-4-5-20250929.

Is there a way to decrease the width of the 4 images on my product page and increase the padding b/w them?
https://www.theozmedicine.com/products/ozmedicine-elearning-access

Hey @ozmedicine

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

1 Like

Thank you! you’re amazing

Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.