Jump to content

Testimonial Previous / Next Custom Arros

Go to solution Solved by tuanphan,

Recommended Posts

Hello, 

I've got a testimonial slider on my website, and I've managed to use custom arrows for the previous / next control. 
Is there a way to ensure they are always aligned with the testimonial name (as per screenshot attached). The testimonials will vary in length, so I'm hoping there's a way for the arrows to always be aligned to the name. 

I tried doing it, but can't get the arrows to exactly align, and I think the method I've used won't work if the testimonial is longer / shorter. Towards the end of this page: https://mcshane.squarespace.com/ password: bandit

Any ideas? Thank you 

Screenshot 2024-06-05 at 9.28.51 pm.png

Link to comment

Thank you @tuanphan. That code seemed to work well for the first testimonial, but since I've got other testimonials of different lengths, the arrows don't line up to the testimonial names for the other slide items. Screenshot attached so you can see what I mean. Thanks

Screenshot 2024-06-08 at 4.45.16 pm.png

Link to comment
  • Solution

Use this code

section[data-section-id="6666ec491beb736a32d094e4"] {
.testimonials-slider .swiper-button-next, .testimonials-slider .swiper-button-prev {
	background-position: center !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.