Jump to content

Brine Grid Gallery: Multiple Columns in Mobile View Possible?

Recommended Posts

While it looks like this used to be the default, I'm wondering if there's any options to have more than one column in the mobile view of a Brine Grid Gallery (end goal: to more mimic the responsiveness of the grid gallery on desktop with more than one column, see example below--screenshot of desktop view).

Thank you!

image.thumb.png.d11c29d4941c590fcbd7893da9e24a12.png

Link to comment
  • Replies 10
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 1/7/2021 at 3:57 AM, JSPaul said:

Thank you and sorry for not including! http://www.jessicapaulphoto.com

Add to Home > Design > Custom CSS

@media screen and (max-width:640px) {
.sqs-gallery-design-autocolumns {
    height: auto !important;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-column-gap: 2px;
    grid-row-gap: 2px;
}
.collection-type-gallery.gallery-design-grid .slide {
    position: relative;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !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
On 1/7/2021 at 11:29 PM, tuanphan said:

Add to Home > Design > Custom CSS


@media screen and (max-width:640px) {
.sqs-gallery-design-autocolumns {
    height: auto !important;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-column-gap: 2px;
    grid-row-gap: 2px;
}
.collection-type-gallery.gallery-design-grid .slide {
    position: relative;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
}
}

 

THANK YOU. Is there any way to make the two columns responsive to mimic the desktop view. With the above Custom CSS, the portrait and landscape photos have breaks. Please see attached for reference. Thanks again!  

image.png

Link to comment
  • 2 weeks later...
On 1/7/2021 at 11:29 PM, tuanphan said:

Add to Home > Design > Custom CSS


@media screen and (max-width:640px) {
.sqs-gallery-design-autocolumns {
    height: auto !important;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-column-gap: 2px;
    grid-row-gap: 2px;
}
.collection-type-gallery.gallery-design-grid .slide {
    position: relative;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
}
}

 

@tuanphan Hi again! Following up on the above and if there was a way to to make the two columns responsive to mimic the desktop view. With the above Custom CSS, the portrait and landscape photos have breaks. Please see above for reference. THANK YOU!

Link to comment
  • 2 years later...
3 hours ago, AExce said:

Is there a way to do this but using image blocks?

I suggest using an Index page containing two pages. One designed for desktop (3 cols) and one designed for mobile (2 cols). Then with CSS we could manipulate the Index pages subpages to show/hide at the appropriate break points.

Do this work in the Not Linked area, send us the URL for the Index page, we can then take a look at it and probably provide some CSS.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
On 1/11/2021 at 8:49 PM, JSPaul said:

THANK YOU. Is there any way to make the two columns responsive to mimic the desktop view. With the above Custom CSS, the portrait and landscape photos have breaks. Please see attached for reference. Thanks again!  

image.png

Hey were you able to figure this out?

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.