Jump to content

Having 3 images side by side in gallery on mobile view

Recommended Posts

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 (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

My testing

image.thumb.png.fed2fc5594df4d79de0eb90e0db00e15.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
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!)

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.