Jump to content

7.1 Slideshow Gallery Section Mobile Resize

Recommended Posts

On 1/19/2021 at 6:01 PM, CNWilliams said:

Hi @tuanphan i am having the same problem with my mobile slideshow, can you please help me.  there is to much padding on mobile 

https://amphibian-fish-8gpk.squarespace.com/

 

Screen Shot 2021-01-19 at 2.55.16 PM.png

Just answered on another post. You can check.

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
  • 1 month later...
On 3/16/2021 at 12:03 AM, Nipper said:

Having issues with another gallery of mine. Same code as before not working this time. It's not my home page so is it a different code? 

https://raspberry-coyote-6gss.squarespace.com/config/pages

 

Screenshot 2021-03-15 at 17.02.54.png

Hi. Can you share link to page in screenshot? /config is admin url

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
  • 3 weeks later...
On 4/11/2021 at 6:52 AM, KTAbodes said:

Okay I am having the hardest time getting my main gallery/section on my homepage to resize in mobile view. Please help.

www.sacramentoabodes.com

Thank you

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

/* resize mobile slide */
@media screen and (max-width:767px) {
.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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 5 months later...
On 10/8/2021 at 9:20 PM, hamzahassan said:

Hi @tuanphan facing same problem, tried everything you suggested above to others. could you please help me too. my web url is www.locusartworks.com

You mean slideshow under Welcome to locus artworks. A place for high-quality yet affordable wall art?

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
  • 1 month later...

Hi! I’ve tried adding your code to fix all the space above and below my gallery slideshow on mobile and all it does is create a huge space between the image and the  caption below it. I emailed you for help. But just in case I thought I’d come on here and try and see If I could help.please help! Thank you! 😞 @tuanphan

Link to comment
On 11/22/2021 at 5:11 AM, yco said:

Hi! I’ve tried adding your code to fix all the space above and below my gallery slideshow on mobile and all it does is create a huge space between the image and the  caption below it. I emailed you for help. But just in case I thought I’d come on here and try and see If I could help.please help! Thank you! 😞 @tuanphan

Which code did you added? I posted some several different codes in this topic.

And what is your site ur?

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
  • 1 month later...

I did something much simpler, and it seems to work:

<style>
    .gallery-fullscreen-slideshow {
    height: 60vw !important;
}
  }
</style>

As you can see, instead of vh -- which is based on height, I used vw -- which is based on screen width. That made the slideshow fully responsive no matter what the screen width is used. No need to worry about mobile breakpoints or anything like that.  And, it gets rid of the extra space.

Try it. I hope that it works.

 

Link to comment
  • 1 month later...
On 1/3/2022 at 5:07 PM, elleirdad said:

I did something much simpler, and it seems to work:

<style>
    .gallery-fullscreen-slideshow {
    height: 60vw !important;
}
  }
</style>

As you can see, instead of vh -- which is based on height, I used vw -- which is based on screen width. That made the slideshow fully responsive no matter what the screen width is used. No need to worry about mobile breakpoints or anything like that.  And, it gets rid of the extra space.

Try it. I hope that it works.

 

This ALMOST worked for me! It worked great for mobile, but now on a browser the gallery banner is zoomed in and its height seems huge. Any clue why this might be? Thanks for helping random people on the internet!

Link to comment
On 3/3/2022 at 3:26 AM, Dusto said:

This ALMOST worked for me! It worked great for mobile, but now on a browser the gallery banner is zoomed in and its height seems huge. Any clue why this might be? Thanks for helping random people on the internet!

You change it to this

<style>
  @media screen and (max-width:767px) {
    .gallery-fullscreen-slideshow {
    height: 60vw !important;
}
  }
</style>

 

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
  • 1 year later...

Hi! I'm having trouble with the gallery slideshow on mobile format. I can edit every project page to have fewer space between title, media and description, but on the pages with gallery slideshows it doesn't allow me. Here are two screenshots to exemplify: The one titled Talamo has the format I want, the one titled Fragmentos has excess space at the top and bottom of the gallery slideshow. 

The page can be found at https://www.andyretana.art/

@tuanphan any idea how to fix this?

Captura de pantalla 2023-08-04 a la(s) 01.46.39.png

Captura de pantalla 2023-08-04 a la(s) 01.46.56.png

Edited by andyrb
Link to comment
On 8/4/2023 at 2:49 PM, andyrb said:

Hi! I'm having trouble with the gallery slideshow on mobile format. I can edit every project page to have fewer space between title, media and description, but on the pages with gallery slideshows it doesn't allow me. Here are two screenshots to exemplify: The one titled Talamo has the format I want, the one titled Fragmentos has excess space at the top and bottom of the gallery slideshow. 

The page can be found at https://www.andyretana.art/

@tuanphan any idea how to fix this?

Captura de pantalla 2023-08-04 a la(s) 01.46.39.png

Captura de pantalla 2023-08-04 a la(s) 01.46.56.png

Add to Custom CSS box (Design > Custom CSS or Website > Website Tools > Custom CSS)

/* Work 1 page - All Slideshow on Mobile */
@media screen and (max-width:767px) {
body.collection-64cb1b7874762b555e5fb3fa.view-item {
.gallery-slideshow {
    height: 30vh !important;
}
article section:first-child {
    min-height: unset !important;
    height: 20vh;
}
}}

 

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.