Jump to content

Have thumbnails runs across 2 rows

Go to solution Solved by TheSquareSpacer,

Recommended Posts

Hi there,

I have thumbnails running underneath my products on mobile which works great providing there isn't anymore than 6. When you add more than this amount, the thumbnails run off the screen. Is it possible to add a bit of code to have the thumbnails run across 2 rows with 5 on top and 5 below?

This is a product with 10 thumbnails and it doesn't work on mobile. It's perfect on desktop.


This is a product with 5 thumbnails and it's perfect.


Thanks as always!

Edited by niteshifte
added more info
Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

  • Solution

Hi @niteshifte. This code will do the job for you. Please add it in Design > Custom CSS

@media screen and (max-width: 767px){
  .ProductItem-gallery-thumbnails {
    flex-wrap: wrap !important;
    justify-content: center !important;

let me know how it goes 🙂

Get Our MultiCurrency Extension for Your Site (7.0 & 7.1)

Feel free to reach out for help and projects!

The Squarespacer Limited

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.