This project is read-only.

Remove height form ".ad-image-wrapper"


In plugin height of class "ad-image-wrapper" is fixed. This is creating issue in responsive sites where we have to fix height for each device otherwise image overflows. But fixing height for each device effects layout on resizing.

Pls suggest


TheDoc wrote Dec 2, 2013 at 8:35 PM

Following works for me in my css:

.ad-gallery .ad-image-wrapper {
height: 450px;
margin: 0 auto; /* float: center doesn't exist */
@media (min-height: 801px) {
.ad-gallery .ad-image-wrapper  {
    height: 650px;

and similar for other values.

manmohan123 wrote Dec 3, 2013 at 5:14 AM

Doesn't seem to work in responsive case. We have to remove the height attribute so that image can adjust automatically. I guess some work to be done with js to remove height.
Any help will be appreciated.