Jump to content

Grid gallery split columns into 2 - on a tablet / iPad

Recommended Posts

Site URL: http://thurstonhall.squarespace.com/accommodation

Hi all,

I've searched and searched existing posts to fix this but haven't been able to find anything.

On this page thurstonhall.squarespace.com/accommodation (password is 'brooklyn') I have a grid gallery in 4 columns. On a mobile (phone) it goes to 2 columns and I've very happy with that. But on an iPad it is in a single column of giant images which looks silly.

How can I get the iPad view to split to 2 columns, like the phone?

Thanks

- James

IMG_3772.JPG

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

I would like to help, please add this snippet via Settings->Design->Custom Css

@media only screen and (max-width: 768px) {
    section[data-section-id="5f9331652c49843721f75d93"] .gallery-grid-wrapper {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media only screen and (min-width: 1024px) {
    section[data-section-id="5f9331652c49843721f75d93"] .gallery-grid-wrapper {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

image.png.302eaa295071136fb5876bfecedd969f.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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.