Jump to content

Change size of homepage images for mobile

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 6
  • Views 480
  • Created
  • Last Reply

Top Posters In This Topic

On 3/19/2023 at 3:42 AM, epetrack said:

Thanks-- www.PetrackPhotography.com

Add to Design > Custom CSS

/* Mobile Resize Slideshow */
@media screen and (max-width:991px) {
.gallery-fullscreen-slideshow {
    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

@tuanphan Thanks so much! That did work, so images now look correct on iPhone when holding it vertically. I'm wondering if there's a way to avoid the homepage images turning into very short heights when turning iPhone on its side (while also making sure they continue to look normal on iPad). Thanks again-

Link to comment
  • Solution
On 3/21/2023 at 7:51 PM, epetrack said:

@tuanphan Thanks so much! That did work, so images now look correct on iPhone when holding it vertically. I'm wondering if there's a way to avoid the homepage images turning into very short heights when turning iPhone on its side (while also making sure they continue to look normal on iPad). Thanks again-

With landscape mode, use this code

/* Mobile Resize Slideshow */
@media screen and (max-width:991px) and (orientation:landscape) {
.gallery-fullscreen-slideshow {
    height: 50vh !important;
}
}

You can adjust number 50

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.