I have encountered an issue while building the testimonial section below. The problem arises when the amount of text in each block is not the same, causing the quote icon to be displayed improperly in the bottom right corner. Sometimes, it even extends outside of the testimonial container. My goal is to have it fixed in the bottom right corner.
Below is an image depicting the problem: https://i.sstatic.net/fVgAA.png
#testimonial-2-block {
padding-top: 35px;
padding-bottom: 35px;
}
#testimonial-2-block .testimonial-name {
margin-left: 25px;
margin-top: 20px;
}
#testimonial-2-block .testimonial-name h4 {
font-size: 18px;
font-weight: 700;
text-transform: uppercase;
}
#testimonial-2-block .testimonial-name p {
font-style: italic;
font-size: 14px;
}
#testimonial-2-block .testimonial-container {
background-color: #dff1f4;
padding: 20px;
border-radius: 4px;
position: relative;
height: 100%;
}
#testimonial-2-block .testimonial-quote {
content: '';
position: absolute;
top: 250px;
left: 370px;
font-size: 40px;
color: #ffffff;
}
#testimonial-2-block .testimonial-text p {
text-align: center;
padding-top: 15px;
}
#testimonial-2-block .testimonial-container:hover {
background-color: #00897B;
transition: .8s;
color: #ffffff;
}
.testimonial-container .testimonial-img img {
width: 90px;
height: 90px;
border-radius: 50%;
margin-top: 20px;
}
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0-2/css/all.min.css" rel="stylesheet"/>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" rel="stylesheet"/>
<div class="container">
<div id="testimonial-2-block" class="row">
<div class="col-md-6">
<div class="testimonial-container">
<div class="testimonial-text">
<p>"Lorem ipsum, dolor sit amet consectetur adipisicing elit. Molestias ducimus maiores praesentium! Aperiam libero architecto porro dicta eum. Enim eum pariatur quae tempora maxime quod doloremque quidem odio assumenda sint. architecto porro dicta eum. Enim eum pariatur quae tempora maxime quod." </p>
</div>
<div class="testimonial-meta d-flex">
<div class="testimonial-img">
<img src="https://cdn.pixabay.com/photo/2016/03/23/04/01/beautiful-1274056__340.jpg" class="img-fluid" alt="">
</div>
<div class="testimonial-name">
<h4>Johanna Kirby</h4>
<p>Digital Marketer</p>
</div>
</div>
<div class="testimonial-quote">
<i class="fas fa-quote-left"></i>
</div>
</div>
</div>
<div class="col-md-6">
<div class="testimonial-container">
<div class="testimonial-text">
<p>"Lorem ipsum, dolor sit amet consectetur adipisicing elit. Molestias ducimus maiores praesentium! Aperiam libero architecto porro dicta eum. Enim eum " </p>
</div>
<div class="testimonial-meta d-flex">
<div class="testimonial-img">
<img src="https://cdn.pixabay.com/photo/2016/03/23/04/01/beautiful-1274056__340.jpg" class="img-fluid" alt="">
</div>
<div class="testimonial-name">
<h4>Johanna Kirby</h4>
<p>Digital Marketer</p>
</div>
</div>
<div class="testimonial-quote">
<i class="fas fa-quote-left"></i>
</div>
</div>
</div>
</div>
</div>