Jump to content

Responsive Height Testimonial Slider

Recommended Posts

Hi, I have a testimonial slider block on my home page and whilst it looks okay on desktop, it appears way too long on mobile view. One of the testimonials is a lot longer so the overall section sizes accommodates for this. Unfortunately this makes the other slides look weird as there's a lot of blank space showing. Is there some code I could use to make the section fit to the amount of the text?

URL is: jaguar-oboe-r9kk.squarespace.com

Password is: Test

Link to comment

This section is built to be the same height based on the maximum content, and done this way to reduce the visual shift vertically which is generally undesirable. 

Honestly, the best way to make this look good is to match the text length with this type of design.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Hi, thanks for responding. I have reduced the content causing the section to be super long. I still feel like the padding is too much at the top and bottom of the section. Is there a way to reduce this at all? Again it only looks too much in mobile view.

Edited by NMcMurray
Link to comment
  • 4 months later...

If you still need help, you can use this code to reduce padding

@media screen and (max-width:767px) {
.user-items-list-item-container[data-section-id="64bf97678375e62844c256dc"] ul {
    min-height: unset !important;
}

.user-items-list-item-container[data-section-id="64bf97678375e62844c256dc"] .slide-content {
    margin-top: 0px !important;
 margin-bottom: 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

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.