Jump to content

Homepage slideshow - reduce section size on mobile

Go to solution Solved by Web_Solutions,

Recommended Posts

Posted

Hello,

I have a slideshow on my homepage "Slideshow: Full" using Fluid Engine (Squarespace 7.1).

I've added the below code to resize my images for mobile, and this is all working fine:

 

@media only screen and (max-width: 767px) {
  section[data-section-id="64ed72af0764420ce18dc910"] img {
    height: auto !important;
  }

 

However I now have a large gap underneath the images within this section that I can't manually adjust (screenshot attached).

I've tried the code below to reduce this (and reduced the VH), but it's not working properly. 

@media only screen and (max-width:767px) {
.gallery-fullscreen-slideshow{
height: 20vh!important
}
}

 

Any other suggestions?

Thank you

 

Screenshot 2023-10-11 at 15.29.53.png

Posted
13 minutes ago, SPR_85 said:

Hello,

I have a slideshow on my homepage "Slideshow: Full" using Fluid Engine (Squarespace 7.1).

I've added the below code to resize my images for mobile, and this is all working fine:

 

@media only screen and (max-width: 767px) {
  section[data-section-id="64ed72af0764420ce18dc910"] img {
    height: auto !important;
  }

 

However I now have a large gap underneath the images within this section that I can't manually adjust (screenshot attached).

I've tried the code below to reduce this (and reduced the VH), but it's not working properly. 

@media only screen and (max-width:767px) {
.gallery-fullscreen-slideshow{
height: 20vh!important
}
}

 

Any other suggestions?

Thank you

 

Screenshot 2023-10-11 at 15.29.53.png

Can you share your website URL?

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Posted
3 minutes ago, SPR_85 said:

 

I just see it. Where is the gallery?

Screenshot_219.png

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Posted

@Web_Solutions it is on the homepage ("home"), in the "not linked" section. It is the image slideshow right at the top. If you go to the mobile view, it's appearing as per the attached screenshot with a big gap under the images.

Thank you

Screenshot 2023-10-11 at 15.29.53.png

Posted
5 hours ago, SPR_85 said:

@Web_Solutions it is on the homepage ("home"), in the "not linked" section. It is the image slideshow right at the top. If you go to the mobile view, it's appearing as per the attached screenshot with a big gap under the images.

Thank you

Screenshot 2023-10-11 at 15.29.53.png

Can you send me the Home page URL SLUG?

Screenshot_220.png

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Posted
10 minutes ago, SPR_85 said:

@Web_Solutions yes it's "hometemp"

Screenshot 2023-10-12 at 18.38.27.png

 

You have disabled the page. That's why I can't see the page. You should enable the page.

Screenshot_221.png

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

  • Solution
Posted
5 hours ago, SPR_85 said:

@Web_Solutions Ah I see - I have now enabled the page, please let me know if you can access it at the below: 

https://pineapple-apple-52zp.squarespace.com/config/pages

The slug is still /hometemp but that isn't displaying in the URL above.

Thank you

 

Please remove this code

@media only screen and (max-width:767px){
  section[data-section-id="64ed72af0764420ce18dc910"] img{
    height:auto !important
  }
}

 

Then add these code below.

@media only screen and (max-width: 767px) {
  section[data-section-id="64ed72af0764420ce18dc910"] .gallery-fullscreen-slideshow {
    height: 56vw !important
  }
}

 

Screenshot_231.png

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

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.