Archived topic
Gallery loading as single column on mobile devices
1 reply · Started by Stephanie on August 31, 2022
I'm using the Gallery block on my site. When I look at in on a desktop computer it shows in the 4 columns with proper spacing. When I look at it in Chrome on my phone the images show in a single column with no spacing. On occasion it was shows as 2 columns with proper spacing, but that seems to be the exception. I reached out to my hosting company and they said it could be a compatibility issue. I need help, my client is not happy.
Hi there,
Are you referring to the Gallery Block from WP core?
https://wordpress.org/support/article/gallery-block/
If so the theme wouldn't have any control over it unfortunately.
Two options I can think of:
- Use the grid block from GB to create your own gallery layout manually:
https://docs.generateblocks.com/article/grid-overview/
- Use a gallery specific plugin like Envira.