Reduce Thumbnail Gap

Topic summary

A user seeks to reduce the spacing between product image thumbnails on their Shopify store’s product page.

Solution Provided:

  • Access the theme code editor (Online Store → Edit Code)
  • Locate the theme.liquid file
  • Insert custom CSS code above the </body> tag

The CSS targets thumbnail gap styling to decrease the spacing between images.

Outcome:

  • The solution successfully resolved the issue
  • The user confirmed the fix worked as intended
Summarized with AI on November 2. AI used: claude-sonnet-4-5-20250929.

I’d like to reduce the gap in between the thumbnails.

Thank you for your help!

https://untammed.co/products/wild-nectar

1 Like

Hey @swalter85

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

Worked! Thanks a lot! @Moeed

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.