Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Design CSS alignment of image and text Reply To: CSS alignment of image and text

#248457
Shikkediel
Participant

This looks to be working alright:

.testimonial-content {
  float: right;
  max-width: calc(100% - 300px);
}

On larger screens in any case, it might be a good idea to put it inside a media query for the switching point. Trial and error tells me this is at 770px 768px.

@media screen and (min-width: 768px) {
.testimonial-content {
  float: right;
  max-width: calc(100% - 300px);
}
}