Jump to content

How to make gallery images zoom in?

Recommended Posts

Hello! How can I make the images in my gallery, Gallery: Simple, zoom in? When looking at the images on the desktop, the pictures are big enough but on mobile they're small and there's no way to zoom in. Does anyone know a workaround this? Thanks!

Link to comment
  • Replies 8
  • Views 1.6k
  • Created
  • Last Reply

Top Posters In This Topic

On 1/18/2024 at 2:41 AM, tuanphan said:

There are some plugins to make gallery section zoom on mobile, let me search & send

Or you can consider change to show 1 image/row on mobile

Ok, thanks. Let me know! If I just show 1 image/row on mobile, I think the page will be very long.

Link to comment
  • 2 weeks later...
On 1/19/2024 at 4:23 PM, gadzoe said:

Ok, thanks. Let me know! If I just show 1 image/row on mobile, I think the page will be very long.

Hi @tuanphanI tried this 1 image/row on mobile which is fine but then it also changes on desktop and it makes it look really big. How can I make it that it stays 2 images a row for desktop and 1 image a row for mobile. Thanks!

Link to comment

To adjust this on mobile, you can use this code to Website > Website Tools (under Not Linked) > Custom CSS

@media screen and (max-width:767px) {
body#collection-656530cd2fe34e1c75bd1ec9 .gallery-grid-wrapper {
    grid-template-columns: repeat(1,1fr) !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.