Jump to content

Blurry Images when using code to convert mobile gallery to single column

Recommended Posts

I am trying to achieve the following for my galleries- 2 images per column on the desktop, and one image per column (stacked) for mobile view.

I had to get a code to convert the mobile view to one column.

However, the code makes the images blurry. Here is the code-

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

Any thoughts?

Thank you!

Link to comment
  • Replies 1
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.