Jump to content

Having 3 images side by side in gallery on mobile view

Recommended Posts

Posted
5 hours ago, charlieknight2204 said:

Site URL: https://www.charlieknightdop.com

I cant seem to add 3 images across on mobile view, it woulds in desktop and on landscape phone but I need it to work portrait on mobile view. Can someone help?

Screenshot 2022-05-09 at 09.12.31.png

You can try adding to Home > Design > Custom Css

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

Let me know how it works on your site

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 5/9/2022 at 11:02 PM, charlieknight2204 said:

Thank you so much - is there a way I can keep all the writing on one line though?

Use this CSS

@media screen and (max-width:767px) {
figcaption.gallery-caption.gallery-caption-grid-simple {
    max-width: 100% !important;
    white-space: nowrap;
}
}

 

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!)

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.