Good morning community,
I’ve installed a testimonial slider but doesn’t work properly when the image is positioned next to the text. I attach catches.
Can you help me?
Thank you
Hi @jplazabillyads,
do you use the “HubSpot Testimonial Slider” from the marketplace?
Or do you use something else?
If you use the “HubSpot Testimonial Slider” duplicate the module(just to have a backup), open the duplicated one and search in the CSS part for
/* Author Image */
.hs-testimonial figure {
display: block;
border-radius: 50%;
overflow: hidden;
position: relative;
background-size: cover;
background-position: center center;
margin: 0 auto;
}
if you haven’t modified anything it’s on line 54.
Change this code to:
/* Author Image */
.hs-testimonial figure {
display: block;
border-radius: 50%;
overflow: hidden;
position: relative;
background-size: cover;
background-position: center center;
margin: 0 auto;
min-width:100px; /* min. width of your image */
}
If this doesn’t work or you’re using another Testimonial module, drop me a line
regards,
Anton