This project is read-only.
1
Vote

Remove height form ".ad-image-wrapper"

description

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
Thanks

comments

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.
Thanks