Jump to content

Change Gallery Slideshow Size for Mobile Only

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution

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

/* resize mobile slideshow */
@media screen and (max-width:767px) {
body.homepage .gallery-fullscreen-slideshow {
    height: 30vh !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 1 year later...
On 2/19/2021 at 7:57 AM, tuanphan said:

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

/* resize mobile slideshow */
@media screen and (max-width:767px) {
body.homepage .gallery-fullscreen-slideshow {
    height: 30vh !important;
}
}

 

tuanphan - thanks so much for this bit of code! This works perfectly for the homepage. How should the code look so that it applies to the entire site though? I'm having issues with galleries on all pages being too tall on mobile. 

Link to comment
On 11/15/2022 at 12:39 AM, astn_mrtn said:

tuanphan - thanks so much for this bit of code! This works perfectly for the homepage. How should the code look so that it applies to the entire site though? I'm having issues with galleries on all pages being too tall on mobile. 

Remove body.homepage from the code

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.