Jump to content

Customize width, padding, and corners of list item carousel cards

Recommended Posts

Hi,

I'm trying to reduce the width of the carousel card in the testimonial section toward the bottom of the homepage. Changing the padding is only moving the text but leaving the card super wide. I also want to round only two of the corners, not all of them. Any code for this?

Thank you!

Heidi

Screenshot 2024-02-03 at 10.08.58 AM.png

Edited by HMitrushi
added an image
Link to comment
  • Replies 3
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

15 hours ago, HMitrushi said:

Hi,

I'm trying to reduce the width of the carousel card in the testimonial section toward the bottom of the homepage. Changing the padding is only moving the text but leaving the card super wide. I also want to round only two of the corners, not all of them. Any code for this?

Thank you!

Heidi

Screenshot 2024-02-03 at 10.08.58 AM.png

Can you share the website URL?

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment
  • 2 weeks later...
On 2/18/2024 at 11:07 PM, HMitrushi said:

Sure! https://www.eagleptnh.com/

The testimonial carousel is toward the bottom of the page.

Thanks!

You can use this CSS code

/* testimonials */
.user-items-list-item-container[data-section-id="65ba803898976a5cd3a78590"] {
    max-width: 900px;
    margin: 0 auto;
}
.user-items-list-item-container[data-section-id="65ba803898976a5cd3a78590"] li {
    border-top-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

image.thumb.png.9a025743b681a8623efd0cb1e79e073d.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

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.