Jump to content

Gallery in fluid engine - mobile and desktop different

Recommended Posts

Posted

This didnt used to be a problem in 7.1. I have a gallery in two columns on desktop view, in fluid engine this keeps two columns on mobile view but I would like a single column stacked on mobile and two columns on desktop. Happy to change all galleries sitewide but does anybody know how to not have tiny thumbnails on mobile? 

Screenshot 2022-11-14 at 14.53.27.png

Posted
5 minutes ago, ZedTeaGee said:

This didnt used to be a problem in 7.1. I have a gallery in two columns on desktop view, in fluid engine this keeps two columns on mobile view but I would like a single column stacked on mobile and two columns on desktop. Happy to change all galleries sitewide but does anybody know how to not have tiny thumbnails on mobile? 

Screenshot 2022-11-14 at 14.53.27.png

Can you share your site with the protected password so we can take a look?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted
3 hours ago, ZedTeaGee said:

Your site is private now. Please give it a protected password so we can take a look: https://recordit.co/ORy3fiWTkP

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted
12 hours ago, ZedTeaGee said:

on the duckie page (one of the projects) is a two column gallery.

 

You can try adding to Home > Design > Custom Css

section[data-section-id="635bf7a4c714825205aa20b6"] .gallery-grid-wrapper {
  grid-template-columns: 1fr !important;
}

Support me by pressing 👍  or marking as solution if this useful for you

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted
On 11/23/2022 at 5:59 AM, Beyondspace said:

You can try adding to Home > Design > Custom Css

section[data-section-id="635bf7a4c714825205aa20b6"] .gallery-grid-wrapper {
  grid-template-columns: 1fr !important;
}

Support me by pressing 👍  or marking as solution if this useful for you

It makes it a 1 column grid on desktop as well as mobile.  

Posted
On 11/24/2022 at 8:56 PM, ZedTeaGee said:

It makes it a 1 column grid on desktop as well as mobile.  

Use this code

@media screen and (max-width:767px) {
section[data-section-id="635bf7a4c714825205aa20b6"] .gallery-grid-wrapper {
  grid-template-columns: 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!)

Posted
On 11/27/2022 at 12:58 PM, tuanphan said:

Use this code

@media screen and (max-width:767px) {
section[data-section-id="635bf7a4c714825205aa20b6"] .gallery-grid-wrapper {
  grid-template-columns: 1fr !important;
}
}

 

Perfect, thank you so much for your perseverance.

Posted
On 11/27/2022 at 12:58 PM, tuanphan said:

Use this code

@media screen and (max-width:767px) {
section[data-section-id="635bf7a4c714825205aa20b6"] .gallery-grid-wrapper {
  grid-template-columns: 1fr !important;
}
}

 

Is it possible to make this code apply to all instances of the gallery grid on the site?

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.