BMLM Posted April 12, 2022 Share Posted April 12, 2022 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
Beyondspace Posted April 16, 2022 Share Posted April 16, 2022 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 abisquarespace 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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
BMLM Posted April 19, 2022 Author Share Posted April 19, 2022 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. Link to comment
tuanphan Posted April 22, 2022 Share Posted April 22, 2022 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; }}} BMLM and bragran99 2 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
theloopylace Posted December 12, 2022 Share Posted December 12, 2022 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 Link to comment
tuanphan Posted December 16, 2022 Share Posted December 16, 2022 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
lucymanc Posted April 15, 2023 Share Posted April 15, 2023 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 Link to comment
tuanphan Posted April 19, 2023 Share Posted April 19, 2023 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 It looks fine to me 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
cpmartineau71 Posted November 22, 2023 Share Posted November 22, 2023 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) Link to comment
tuanphan Posted November 24, 2023 Share Posted November 24, 2023 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
cpmartineau71 Posted November 27, 2023 Share Posted November 27, 2023 @tuanphan It works!! Thanks a lot and I really appreciate it!! Link to comment
AnnaH Posted January 20 Share Posted January 20 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. Link to comment
tuanphan Posted January 21 Share Posted January 21 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; } } AnnaH and bragran99 1 1 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
croutonnightmare Posted February 26 Share Posted February 26 Hello! I used code provided above and entered my section ID and it worked! But now I have a lot of blank space above my banner slide show and in-between my slideshow and the arrows. Is there anyway to eliminate this blank space? Link to comment
tuanphan Posted February 29 Share Posted February 29 On 2/26/2024 at 3:18 PM, croutonnightmare said: Can you share link to this page? We can check easier 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
ForestFern Posted May 15 Share Posted May 15 Hi, I'm trying to make the text under the image for my mobile carousel. I input this code, but the text is still directly on top of the image. What can I do? And, obviously, I changed the section ID to be matching the section ID for my site. Here's the site, and the carousel is under "Program Areas". On 4/22/2022 at 8:07 AM, tuanphan said: 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; }}} Link to comment
tuanphan Posted May 18 Share Posted May 18 On 5/16/2024 at 2:19 AM, ForestFern said: Hi, I'm trying to make the text under the image for my mobile carousel. I input this code, but the text is still directly on top of the image. What can I do? And, obviously, I changed the section ID to be matching the section ID for my site. Here's the site, and the carousel is under "Program Areas". You can use this code to Custom CSS box @media screen and (max-width:767px) { .user-items-list-item-container[data-section-id="66243a793a84b06cbf18a23c"] { .slide-media-container { position: static !important; } li.slide.list-item { flex-direction: column !important; padding: 0px !important; } .slide-content.list-item-card-background.list-item-rich-animation { margin-top: 0px !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
ForestFern Posted May 31 Share Posted May 31 Thank you @tuanphan, that worked perfectly! The addition of the last code snippet fixed it. One follow up question, is there a way to make the spacing more consistent even with different amounts of text? On the slides that have minimal text (see the Policy Advocacy pic), the spacing gets very large between text and image. Link to comment
tuanphan Posted June 2 Share Posted June 2 On 6/1/2024 at 2:29 AM, ForestFern said: Thank you @tuanphan, that worked perfectly! The addition of the last code snippet fixed it. One follow up question, is there a way to make the spacing more consistent even with different amounts of text? On the slides that have minimal text (see the Policy Advocacy pic), the spacing gets very large between text and image. Replace code I sent with this @media screen and (max-width:767px) { .user-items-list-item-container[data-section-id="66243a793a84b06cbf18a23c"] { .slide-media-container { position: static !important; height: auto !important; } li.slide.list-item { flex-direction: column !important; padding: 0px !important; } .slide-content.list-item-card-background.list-item-rich-animation { margin-top: 0px !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
ForestFern Posted June 19 Share Posted June 19 @tuanphan Fixed with the new code! Thanks so much!!! Link to comment
MLV Posted August 21 Share Posted August 21 Same problem for me with my home page slider getting cropped on mobile and I'm reluctant to try adding code from someone else's site. Could someone kindly take a look and provide code to fix? cello-elk-cb68.squarespace.com Much appreciated! Link to comment
tuanphan Posted August 23 Share Posted August 23 On 8/21/2024 at 10:54 PM, MLV said: Same problem for me with my home page slider getting cropped on mobile and I'm reluctant to try adding code from someone else's site. Could someone kindly take a look and provide code to fix? cello-elk-cb68.squarespace.com Much appreciated! You can use this code to Website Tools > Custom CSS @media screen and (max-width:767px) { .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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment