Jump to content

Reduce padding around text quotes in Banner Slideshow on mobile view

Recommended Posts

I'm using a banner slideshow to showcase testimonial quotes. There is a huge amount of padding above and below the text on mobile view, and I can't figure out how to reduce it! I've reduced it right down on desktop view, but it hasn't mirrored this in mobile view.

 

Mobile view:

 image.thumb.png.a1f60adf38e0393c9e54779968f7ca8f.png

 

Desktop view:

image.thumb.png.1d950b6b9c029812c264c918514b0d95.png

Link to comment
  • 5 months later...
  • 6 months later...
On 5/24/2024 at 12:36 AM, amyarchambaultstudio said:

Also looking to reduce the space above and below quotes in a banner slideshow in mobile viewing. Thank you for providing the proper code - not sure what to target.

Screen Shot 2024-05-23 at 1.36.25 PM.png

Can you share link to this 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
On 5/28/2024 at 5:12 AM, ChristinaDean said:

Also trying to reduce padding of top margin on mobile (where the yellow "I" is) : 

Website: www.lifestyleenergy.com.mx/home-1

 

image.png.31ad42134967fa35c7d704cf5f5cb571.png

 

Thanks! 

You can use this to Website > Website Tools > Custom CSS

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

.user-items-list-item-container[data-section-id="6654e32e3d64a040db1da812"] .slide-content.list-item-card-background {
    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
On 6/5/2024 at 4:13 AM, ChristinaDean said:

Thank you so much @tuanphan ! On a completely unrelated topics, do you know how I might be able to recreate this effect where the upcoming image is darker (overlay) until it comes into center/focus on scroll? My client loves this effect and I'm at a loss.... https://ecocentro.mx/projects/installation-gallery

Thank you for any help or insight! 

I think it is possible but complex, but right now I don't have any ideas, I will try to test something.

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.