2013-11-06, 02:03:48
(2013-11-05, 21:27:02)alex_d Wrote: #gallery-cycle-<?php echo $id; ?>.gallery-cycle .gallery-container {
width: <?php echo $tp == 'left' || $tp == 'right' ? $w + $tw : $w; ?>px;
height: <?php echo $tp == 'top' || $tp == 'bottom' ? $h + $tw : $h; ?>px;
}
Ideal would be to replace "height' with 'auto' or ' 100%'. But it's not working in the browser - height would become 0px and the image would be not visible.
So my question would be: is there a way to change this part of PHP to keep responsive height ?
Just overwrite this style in your own CSS, e.g.
Code:
.gallery-cycle .gallery-container { height: auto !important; }