Jump to content

Resize banner slideshow on mobile only

Recommended Posts

Site URL: https://www.thedesignmaker.ca/

Hi There,

I need help resizing the banner slideshow on the mobile version.

Desktop version is great but the mobile version crop the images and looks bad, I want to show the full length of the images.

I've tried a bunch of code from the forum but nothing worked.

If anyone could help me it would be really appreciate.

Thank you!

 

 

Link to comment
On 4/12/2022 at 10:25 PM, BMLM said:

Site URL: https://www.thedesignmaker.ca/

Hi There,

I need help resizing the banner slideshow on the mobile version.

Desktop version is great but the mobile version crop the images and looks bad, I want to show the full length of the images.

I've tried a bunch of code from the forum but nothing worked.

If anyone could help me it would be really appreciate.

Thank you!

 

 

Try adding to Home > Design > Custom Css

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

  section[data-section-id="6238cb9339d72d5eaf92fe8d"] .slide-content h2 {
    font-size: 20px !important;
  }

  section[data-section-id="6238cb9339d72d5eaf92fe8d"] .list-item {
    padding: 0 12% 21% !important;
  }

  section[data-section-id="6238cb9339d72d5eaf92fe8d"] .slide-content {
    margin-top: 20px !important;
  }

  section[data-section-id="6238cb9339d72d5eaf92fe8d"] .slides.slides--initialized {
    min-height: 60px !important;
  }
}

Let me know how it works on your site

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
On 4/20/2022 at 2:45 AM, BMLM said:

Thank you!

The image is good but now the text over the image is too big.
Is that possible to leave the text just under the image, I mean between image and arrows?

Thanks again.

Don't remove any code in your current code

Add to Design > Custom CSS

/* Mobile List Slideshow - Text under image */
@media screen and (max-width:767px) {
.user-items-list-item-container[data-section-id="6238cb9339d72d5eaf92fe8d"] {
.slide-media-container {
    position: relative !important;
}
li.slide.list-item {
    flex-direction: column;
    padding-left: 0 !important;
    padding-right: 0 !important;
}}}

list.thumb.png.5a66feec4f88fc059982a522ec973369.png

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
  • 7 months later...
On 12/13/2022 at 1:21 AM, theloopylace said:

Hi, 
I am trying to do the same thing on my website. On my about page I am trying to resize the banner slide show block for mobile. Right now its very long on mobile. Both text and image. 

https://apoppyplace.com/about

Hi,

Which slideshow are you referring to? I don't see it on about page

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 months later...
On 4/15/2023 at 11:57 AM, lucymanc said:

Hi, can someone please help me with the same issue? in desktop view looks good but in mobile is a mess. I did what was suggested above with the code and nothing changes. Please help thank you!!

www.ozpinatas.com.au 

 

desktop banner sq.png

mobile banner sq.png

It looks fine to me

image.png.4cb08eca6b6a7321fdadb7a95299cdef.png

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
  • 7 months later...
On 11/22/2023 at 11:00 PM, cpmartineau71 said:

Hi, I am encountering the same problem as well where the pictures in the banner slideshow is too big on the mobile view. Do you mind helping me please? Thanks! 

Website: https://smithmarketing.ca/alumni-1 (scroll down to alumni testimonials)

You can add this code to Website > Website Tools (under Not Linked) > Custom CSS

/* Mobile testimonial slideshow */
@media screen and (max-width:767px) {
.user-items-list-item-container[data-section-id="655d11d0376b0f4a2801b9c6"] ul {
    min-height: unset !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
  • 1 month later...
On 1/20/2024 at 10:42 AM, AnnaH said:

Hello, Could you also help with code for my site? https://www.annahartleycreative.com.au/

I'vr got the same issue with the banner slideshow on my homepage not resizing for mobil and cutting of the sides of the images.

I tried the other code you posted but guess in needs to be customised for my page.

You can add this CSS code to fix problem

@media screen and (max-width:991px) {
body.homepage .slideshow-holder ul {
    min-height: unset !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
  • 1 month later...

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.