hi, i have a site with this script (http://www.digitalia.be/software/slimbox2/), this is not responsive , so i decided to make responsive, i have used this code
#lbCenter { height: auto!important;
width: 80%!important;
margin-left: -41%!important;
left: 50%!important;
}
#lbBottomContainer {left: 50%!important;
width: 80%!important;
margin-left: -41%!important;
}
#lbImage {
background-size: 100% 100%!important;
width: 100%!important;}
after this the box is responsive , but only for width, not for height ,
if use height:auto; on #lbCenter the photo disappear.
how fix ??
you can view the demo on the link of official site.