amg28416 Posted January 23 Posted January 23 I am REALLY struggling to format the mobile version of my testimonials slider. I've been combing through these forums and self-teaching basic CSS, but I've spent far too much time on this and I'm calling in reinforcements 😂 I have a basic testimonials slider on my homepage and have made the ridiculous extra padding between elements "better" on mobile but can't get it where I want it. Ideally, I'd love the height of each slide to auto-adjust so that shorter testimonial slides aren't constrained to the height of longer testimonial slides. I also tried to add a button to the carousel, which looked great on desktop (screenshot attached) but was an absolute disaster on mobile, so I pulled it for now. Here's the code I've already got in place for mobile: /*Mobile Carousel*/ @media screen and (max-width:767px) { [data-section-id="65a4b0a5e511c65266cb78e3"] { .user-items-list { margin-bottom: 550px !important; height: 70vw !important; } .user-items-list-carousel__slide { margin-top: -10px !important; } .mobile-arrows { position: relative; top: -5px; } }} Would SO appreciate any help you CSS wizards can provide! Wish Squarespace did a better job with its responsive UX. Thank you in advance for saving me!
ArminB Posted January 23 Posted January 23 have you already tried the POSITION settings? About Armin: Squarespace Expert Profile: https://www.squarespace.com/designer/profile/3649084 Website: www.braunsberger-media.com
amg28416 Posted January 24 Author Posted January 24 @ArminBÂ yes I have. Seems to be a common issue with mobile sliders they requires custom code to fix, unfortunately.Â
tuanphan Posted January 28 Posted January 28 It is not possible, you can consider reduce & equal text all items on mobile, then we can reduce space easier (if you need this, I can give the code) 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!)
amg28416 Posted February 6 Author Posted February 6 @tuanphan that would be super helpful! Thank you!
tuanphan Posted February 8 Posted February 8 On 2/6/2024 at 2:28 PM, amg28416 said: @tuanphan that would be super helpful! Thank you! If you can share link to page in screenshot, I will check and give the code 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!)
amg28416 Posted February 11 Author Posted February 11 (edited) @tuanphan thank you! I pulled the module from my homepage for the time being, so I duplicated the homepage here and readded the carousel. URL: www.arimason.com/home-test Password: ThisIsJustATest Edited February 11 by amg28416
tuanphan Posted February 12 Posted February 12 On 2/11/2024 at 10:16 AM, amg28416 said: @tuanphan thank you! I pulled the module from my homepage for the time being, so I duplicated the homepage here and readded the carousel. URL: www.arimason.com/home-test Password: ThisIsJustATest Use this code to Website > Website Tools > Custom CSS @media screen and (max-width:767px) { .user-items-list-item-container[data-section-id="65c83b983c915d544cfba903"] .list-item-content__description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; } }  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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment