Jump to content

CSS to resize mobile gallery block only

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 6
  • Views 292
  • Created
  • Last Reply

Top Posters In This Topic

15 minutes ago, LornaT said:

Hi. 

I'm having issues with gallery size. How do I reduce size of gallery to small in mobile, while keeping medium size in desktop?

I thought mobile was supposed to be separated! 

Many Thanks 

P.W Widemouth@sauna@

What is your URL?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 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
  • Solution
On 3/28/2023 at 6:31 PM, LornaT said:

Hi. Yes. 

Is there a way of keeping it small in mobile mode?

Its on medium in desktop mode.

Many Thanks 

Add to Design > Custom CSS > Then save & reload the site

@media screen and (max-width:767px) {
.gallery-reel {
    height: 35vh !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

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.