Forums

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

Home Forums CSS Issues with two images displaying on HTML/CSS/JS powered slideshow Reply To: Issues with two images displaying on HTML/CSS/JS powered slideshow

#253303
Atelierbram
Participant

Even better, try the so-called “intrinsic ratio or padding-bottom hack”:

@media only screen and (max-width: 977px) {
  #fpssContainer103.fpss-template-simple .slides-wrapper .slides .slide a.slide-link span {
    height: 0;
    padding-bottom: 39.54%;
  }
}

450 / 11.38 = 39.54%