2013-11-18, 22:10:48
Hi Mvlicek, thanx for the reply,
width:auto !important / 100% !important; just does not work.
I made a workaround with adding viewport screen sizes ..
Regards,
width:auto !important / 100% !important; just does not work.
I made a workaround with adding viewport screen sizes ..
Regards,
(2013-11-06, 02:03:48)mvlcek Wrote:(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.
You might need to add a more specific rule, if this does not work, e.g. body #content .gallery-cycle .gallery-container { ... }Code:.gallery-cycle .gallery-container { height: auto !important; }